Template:Imperial/09/Menu/Reduced

From 2009.igem.org

(Difference between revisions)
Line 224: Line 224:
     var address = document.location.href;
     var address = document.location.href;
     var addressSplit = address.split("/");
     var addressSplit = address.split("/");
-
if ((addressSplit[3]=='Team:Imperial_College_London') && (typeof(addressSplit[30]) == 'undefined')){
+
if ((addressSplit[3]=='Team:Imperial_College_London') || (typeof(addressSplit[30]) == 'undefined')){
     alert('cat');
     alert('cat');
}
}

Revision as of 21:40, 13 September 2009