Team:Aalto-Helsinki/sidebar
From 2014.igem.org
(Difference between revisions)
Vaakapallo (Talk | contribs) |
Vaakapallo (Talk | contribs) |
||
Line 42: | Line 42: | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | if(location.pathname != "/") { | + | if(location.pathname != "/Team:Aalto-Helsinki") { |
$('#sidebar-wrapper a[href^="https://2014.igem.org' + location.pathname + '"]').addClass('active'); | $('#sidebar-wrapper a[href^="https://2014.igem.org' + location.pathname + '"]').addClass('active'); | ||
} else $('#sidebar-wrapper a:eq(0)').addClass('active'); | } else $('#sidebar-wrapper a:eq(0)').addClass('active'); |
Revision as of 12:02, 12 June 2014