' +
+ this.room.$chat.append('
' +
Tools.escapeHTML(data[0]) + " has " + result + " the match " + Tools.escapeHTML(data[3].split(',').join(' - ')) + " against " + Tools.escapeHTML(data[1]) +
'
');
break;
case 'end':
- this.room.$chat.append("
Congratulations to " + Tools.escapeHTML(arrayToPhrase(data[0].split(','))) + " for winning the tournament!
");
+ this.room.$chat.append("
Congratulations to " + Tools.escapeHTML(arrayToPhrase(data[0].split(','))) + " for winning the tournament!
");
if (data[1]) {
var runnerUps = data[1].split(',');
- this.room.$chat.append("
Runner-up" + (runnerUps.length > 1 ? "s" : "") +": " + Tools.escapeHTML(arrayToPhrase(runnerUps)) + "
");
+ this.room.$chat.append("
Runner-up" + (runnerUps.length > 1 ? "s" : "") +": " + Tools.escapeHTML(arrayToPhrase(runnerUps)) + "
");
}
// Fallthrough
@@ -211,7 +211,7 @@
this.$box.css('transition', '');
if (cmd === 'forceend')
- this.room.$chat.append("
The tournament was forcibly ended.
");
+ this.room.$chat.append("
The tournament was forcibly ended.
");
break;
default: