Fix grammatical issue in battle list

This commit is contained in:
Bill Meltsner 2013-05-12 14:39:28 -06:00
parent 1dfb199bfb
commit a151dbe4eb

View File

@ -671,7 +671,7 @@
if (!i) {
buf = '<p>No '+Tools.escapeFormat(this.format)+' battles are going on right now.</p>';
} else {
buf = '<p>'+i+' '+Tools.escapeFormat(this.format)+' battles</p>' + buf;
buf = '<p>'+i+' '+Tools.escapeFormat(this.format)+' '+(i === 1 ? 'battle' : 'battles')+'</p>' + buf;
}
this.$list.html(buf);