Line 31: | Line 31: | ||
$("nav a").each(function(ind,val){ | $("nav a").each(function(ind,val){ | ||
− | if | + | if(val.href===window.location.href) |
+ | if (val.href!="https://2016.igem.org/Team:SUSTech_Shenzhen"){ | ||
val.href="#"; | val.href="#"; | ||
$(val).parent().addClass("active"); | $(val).parent().addClass("active"); |
Revision as of 01:00, 16 October 2016