Commit 533b2153 authored by Clément OUDOT's avatar Clément OUDOT

Display first available tab (#650)

parent 02d69199
......@@ -50,6 +50,7 @@ $(document).ready(function(){
/* Menu tabs */
var menuTabs = $("#menu").tabs({active:0});
var menuIndex = $('#menu a[href="#'+displaytab+'"]').parent().index();
if (menuIndex<0){menuIndex=0;}
menuTabs.tabs("option","active",menuIndex);
/* Authentication choice tabs */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment