diff options
Diffstat (limited to 'gui/static/script.js')
-rw-r--r-- | gui/static/script.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gui/static/script.js b/gui/static/script.js index 231aa03..a585f9f 100644 --- a/gui/static/script.js +++ b/gui/static/script.js @@ -1,16 +1,4 @@ $(document).ready(function() { - // Only show first tab - $('#info div:not(:first)').hide(); - - // Handle clicks on tabs to change visiblity of panes - $('#info-nav li').click(function(event) { - event.preventDefault(); - $('#info div').hide(); - $('#info-nav .current').removeClass("current"); - $(this).addClass('current'); - var clicked = $(this).find('a:first').attr('href'); - $('#info ' + clicked).fadeIn('fast'); - }).eq(0).addClass('current'); }); |