Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 423: Line 423:
             for (var j=0; j< children.length; j++) {
             for (var j=0; j< children.length; j++) {
               if (children[j].tagName == "A") {
               if (children[j].tagName == "A") {
-
                     if (window.location.href.indexOf(children[j].href) {
+
                     if (window.location.href.indexOf(children[j].href)) {
                         if (active==1) active = 3;
                         if (active==1) active = 3;
                     }
                     }

Revision as of 22:56, 3 October 2013