Team:Freiburg/Templates/html/js.html
From 2014.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
if (DEBUG) console.log("indexofPath: " + indexOfPath); | if (DEBUG) console.log("indexofPath: " + indexOfPath); | ||
if (indexOfPath === -1) continue; | if (indexOfPath === -1) continue; | ||
+ | if (indexOfPath > 2) continue; | ||
if (indexOfPath >= href.length - currentPath.length - 1){ | if (indexOfPath >= href.length - currentPath.length - 1){ | ||
// set active state | // set active state |
Revision as of 18:13, 7 October 2014