Team:WHU-China
From 2012.igem.org
(Difference between revisions)
Line 573: | Line 573: | ||
}); | }); | ||
var catalogString = (/catalog=([0-9]*)/).exec(document.URL); | var catalogString = (/catalog=([0-9]*)/).exec(document.URL); | ||
- | if(catalogString && parseInt(catalogString[1]) < menuObj.home.length){ | + | if(catalogString&&parseInt(catalogString[1]) < menuObj.home.length){ |
$('ul.aside-outerUl>li[action='+catalogString[1]+']').click(); | $('ul.aside-outerUl>li[action='+catalogString[1]+']').click(); | ||
}else{ | }else{ |
Revision as of 11:24, 24 September 2012