replaced return; with return undef;

This commit is contained in:
JT Smith 2008-01-24 21:58:15 +00:00
parent ffa90c5fbd
commit fa09c41598
113 changed files with 287 additions and 286 deletions

View file

@ -429,7 +429,7 @@ function addSTClassName(el, sClassName) {
var l = p.length;
for (var i = 0; i < l; i++) {
if (p[i] == sClassName)
return;
return undef;
}
p[p.length] = sClassName;
el.className = p.join(" ").replace( /(^\s+)|(\s+$)/g, "" );