Template:CSS/UT-Tokyo/Counter/Contents

From 2014.igem.org

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

Revision as of 16:45, 9 October 2014