Template:CSS/UT-Tokyo/Counter/Contents
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 503: | Line 503: | ||
} | } | ||
if(tmp != "Team-top"){ | if(tmp != "Team-top"){ | ||
- | var op = tmp.replace("-block",""); | + | if(tmp != "Safety-block"){ |
- | + | var op = tmp.replace("-block",""); | |
- | + | var opNode = document.getElementById(op); | |
- | + | if(opNode.childNodes[0].childNodes[0].src.indexOf("open") == -1){ | |
+ | open(op); | ||
+ | } | ||
} | } | ||
} | } |