Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 335: Line 335:
                     active = 3;
                     active = 3;
                 }
                 }
-
             } else if (window.location.href.indexOf(menu_links[j].href, window.location.href.length - menu_links[j].href.length) >-1) {
+
             } else if (!/Team:Edinburgh\/.*\//.test(window.location.href)) {
active = 3;
active = 3;
             }
             }

Revision as of 03:09, 4 October 2013