Template:UCSF/Header
From 2010.igem.org
(Difference between revisions)
Line 84: | Line 84: | ||
var temp = toBeTOCced[i]; | var temp = toBeTOCced[i]; | ||
var MW = temp.getElementsByClassName('mw-headline'); | var MW = temp.getElementsByClassName('mw-headline'); | ||
- | if(MW | + | if(!MW){MW = temp.getElementsByTagName('span');} |
var B = MW[0].getElementsByTagName('b'); | var B = MW[0].getElementsByTagName('b'); | ||
var result; | var result; |
Revision as of 03:20, 17 October 2010