From 467a01171b31cec742a0da810a1f7539b5f47758 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 10 Oct 2015 18:56:05 -0400 Subject: [PATCH] Fix build error --- chat-plugins/poll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat-plugins/poll.js b/chat-plugins/poll.js index 1721b09d7f..94b5ed84ac 100644 --- a/chat-plugins/poll.js +++ b/chat-plugins/poll.js @@ -59,7 +59,7 @@ var Poll = (function () { var colors = ['#79A', '#8A8', '#88B']; while (!i.done) { var percentage = Math.round((i.value[1].votes * 100) / (this.totalVotes || 1)); - output += '
' + i.value[0] + '. ' + Tools.escapeHTML(i.value[1].name) + ' (' + i.value[1].votes + ' vote' + (i.value[1].votes == 1 ? '' : 's') + ')
 ' + percentage + '%
'; + output += '
' + i.value[0] + '. ' + Tools.escapeHTML(i.value[1].name) + ' (' + i.value[1].votes + ' vote' + (i.value[1].votes === 1 ? '' : 's') + ')
 ' + percentage + '%
'; i = iter.next(); c++; }