Template:SUSTC-Shenzhen/themeJs
From 2014.igem.org
(Difference between revisions)
Line 28: | Line 28: | ||
if(val.href===window.location.href){ | if(val.href===window.location.href){ | ||
val.href="#"; | val.href="#"; | ||
- | val.parent().addClass("active"); | + | $(val).parent().addClass("active"); |
} | } | ||
}); | }); |
Revision as of 06:50, 22 August 2014