Template:Team:Edinburgh/Code
From 2013.igem.org
(Difference between revisions)
Hristianita (Talk | contribs) |
Hristianita (Talk | contribs) |
||
Line 360: | Line 360: | ||
return function() { | return function() { | ||
active=1; | active=1; | ||
- | for (var j=0; j < | + | for (var j=0; j < children.length; j++) { |
- | if ( | + | if (children[j].href.indexOf("Team:Edinburgh/") > -1) { |
- | if (window.location.href.indexOf( | + | if (window.location.href.indexOf(children[j].href) > -1) { |
active = 3; | active = 3; | ||
} | } |
Revision as of 03:19, 4 October 2013