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'){  
+
if (addressSplit[3]=='Template:Imperial'){  
     alert('Team page');
     alert('Team page');
     if(typeof(addressSplit[30]) == 'undefined')){
     if(typeof(addressSplit[30]) == 'undefined')){

Revision as of 21:47, 13 September 2009