Template:CSS/UT-Tokyo/Counter/Contents

From 2014.igem.org

(Difference between revisions)
Line 503: Line 503:
}
}
if(tmp != "Team-top"){
if(tmp != "Team-top"){
-
var op = tmp.replace("-block","");
+
if(tmp != "Safety-block"){
-
var opNode = document.getElementById(op);
+
var op = tmp.replace("-block","");
-
if(opNode.childNodes[0].childNodes[0].src.indexOf("open") == -1){
+
var opNode = document.getElementById(op);
-
open(op);
+
if(opNode.childNodes[0].childNodes[0].src.indexOf("open") == -1){
 +
open(op);
 +
}
}
}
}
}

Revision as of 13:47, 12 October 2014