Difference between revisions of "Template:HSNU-TAIPEI/members js"

Line 21: Line 21:
 
var justifiedName = "";
 
var justifiedName = "";
 
for(var i = 0; i < length; i++) {
 
for(var i = 0; i < length; i++) {
if(personName[i] !== ' ' && personName[i] !== '-') {
+
if(personName[i] !== ' ' &amp;&amp; personName[i] !== '-') {
 
justifiedName += personName[i];
 
justifiedName += personName[i];
 
}
 
}

Revision as of 12:39, 16 June 2015