Template:CSS/UT-Tokyo/Counter/Contents

From 2014.igem.org

(Difference between revisions)
Line 489: Line 489:
if(typeof cont !== "undefined"){
if(typeof cont !== "undefined"){
if(cont != "Team-top"){
if(cont != "Team-top"){
-
var op = cont.replace("-block","");
+
if(cont != "Safety-block"){
-
var opNode = document.getElementById(op);
+
var op = cont.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:48, 12 October 2014