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

m (navbar active bugfix)
m (minor fixes)
Line 111: Line 111:
 
}
 
}
 
resizeNavbar();
 
resizeNavbar();
fixTabs();
 
 
});
 
});
  
Line 208: Line 207:
 
$("#navbar-results-toolbox").hide();
 
$("#navbar-results-toolbox").hide();
 
$("#navbar-results-parts").hide();
 
$("#navbar-results-parts").hide();
}
 
 
function fixTabs() {
 
$("#results-toolbox").attr("class", "sub-navbar-item active");
 
$("#results-toolbox-photoswitching").attr("class", "sub-navbar-item small active");
 
 
}
 
}
  
Line 435: Line 429:
 
}
 
}
 
resizeNavbar();
 
resizeNavbar();
}, 10);
+
}, 25);
  
  

Revision as of 17:30, 20 September 2017