Team:NTU-Taida/Templates/Footer
From 2012.igem.org
(Difference between revisions)
m |
|||
Line 45: | Line 45: | ||
newDisplayText = newDisplayText + ' ' + arrayAbbrText[i]; | newDisplayText = newDisplayText + ' ' + arrayAbbrText[i]; | ||
if (i < arrayAbbrText.length){ | if (i < arrayAbbrText.length){ | ||
- | if (newDisplayText.length < | + | if (newDisplayText.length < 20){ |
state = true; | state = true; | ||
} | } | ||
Line 55: | Line 55: | ||
} | } | ||
}while (state) | }while (state) | ||
- | return newDisplayText; | + | return newDisplayText + ' …'; |
}else{ | }else{ | ||
return displayText; | return displayText; |
Revision as of 16:35, 24 September 2012