mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-29 06:22:51 -06:00
RGL browser: move help button, re-add synopsis link
This commit is contained in:
@@ -177,19 +177,11 @@ $(document).ready(function() {
|
||||
}
|
||||
});
|
||||
|
||||
// Initialize the panels & tabs
|
||||
$(".panel").each(function(a,b){
|
||||
$("<a>")
|
||||
.addClass('tab')
|
||||
.addClass($(b).attr('id'))
|
||||
.attr('href', '#'+$(b).attr('id'))
|
||||
.html($(b).attr('id'))
|
||||
.click(function(){
|
||||
showPanel(b);
|
||||
return false;
|
||||
})
|
||||
// .appendTo("#tabbar")
|
||||
.insertAfter("#tabbar *:last-child")
|
||||
// Initialize the panels, tabs
|
||||
$("a.tab").click(function(){
|
||||
var panel = $(this).attr("href");
|
||||
showPanel(panel);
|
||||
return false;
|
||||
});
|
||||
showPanel(".panel:first");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user