Template:Imperial/09/Menu/Reduced

From 2009.igem.org

(Difference between revisions)
Line 241: Line 241:
<script type="text/javascript">
<script type="text/javascript">
-
if (addressSplit[3]=='Team:Imperial_College_London' && addressSplit[4]=== undefined){
+
if (addressSplit[3]=='Team:Imperial_College_London' && (typeof addressSplit[4] == 'undefined')){
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Major_results"> Major results</a></li>');
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Major_results"> Major results</a></li>');
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Biobricks"> Submitted parts</a></li>');
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Biobricks"> Submitted parts</a></li>');

Revision as of 17:31, 13 September 2009