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

m (fix bug with not hiding previous page button on start page)
(active tabs bug)
Line 236: Line 236:
 
} else if ($object.attr("class") == "sub-navbar-item highlighted") {
 
} else if ($object.attr("class") == "sub-navbar-item highlighted") {
 
$object.attr("class", "sub-navbar-item");
 
$object.attr("class", "sub-navbar-item");
 +
}
 +
 +
if ($object.attr("class") == "sub-navbar-item navbar active") {
 +
$object.attr("class", "sub-navbar-item active");
 
}
 
}
 
}
 
}
Line 422: Line 426:
 
resizeNavbar();
 
resizeNavbar();
 
}, 10);
 
}, 10);
 +
  
  

Revision as of 15:03, 20 September 2017