Team:Aalto-Helsinki/sidebar

From 2014.igem.org

(Difference between revisions)
Line 130: Line 130:
$(document).ready(function() {
$(document).ready(function() {
$('.sidebar-nav li ul li').hide();
$('.sidebar-nav li ul li').hide();
-
console.log($('.sidebar-nav li ul li'));
+
console.log($('.sidebar-nav li a .active'));
-
$('.sidebar-nav a .active').siblings.show();
+
$('.sidebar-nav li a .active').siblings.show();
if(location.pathname != "/Team:Aalto-Helsinki") {
if(location.pathname != "/Team:Aalto-Helsinki") {

Revision as of 08:36, 16 June 2014