Template:CSS/UT-Tokyo/Counter/Contents
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 481: | Line 481: | ||
document.title = "σ-Re Counter | UT-Tokyo 2014"; | document.title = "σ-Re Counter | UT-Tokyo 2014"; | ||
- | if(typeof cont != "undefined"){ | + | if(typeof cont !== "undefined"){ |
if(cont != "Team-top"){ | if(cont != "Team-top"){ | ||
var op = cont.replace("-block",""); | var op = cont.replace("-block",""); | ||
Line 544: | Line 544: | ||
$("#contentsBody").mCustomScrollbar("scrollTo",target); | $("#contentsBody").mCustomScrollbar("scrollTo",target); | ||
}else{ | }else{ | ||
+ | alert(getUrlVars()["cont"]); | ||
if(typeof getUrlVars()["cont"] !== "undefined"){ | if(typeof getUrlVars()["cont"] !== "undefined"){ | ||
var href = "#" + getUrlVars()["cont"]; | var href = "#" + getUrlVars()["cont"]; |