Difference between revisions of "Template:Team:Bielefeld-CeBiTec/JS"

(navbar active fix)
m (navbar active bugfix)
Line 211: Line 211:
  
 
function fixTabs() {
 
function fixTabs() {
$(".sub-navbar-item navbar active").attr("class", "sub-navbar-item active");
+
$("#results-toolbox").attr("class", "sub-navbar-item active");
$(".sub-navbar-item small navbar active").attr("class", "sub-navbar-item small active");
+
$("#results-toolbox-photoswitching").attr("class", "sub-navbar-item small active");
 
}
 
}
  
Line 436: Line 436:
 
resizeNavbar();
 
resizeNavbar();
 
}, 10);
 
}, 10);
 
 
  
  

Revision as of 17:24, 20 September 2017