From ed7292044497b2ea52a9f985cc4dc3d5b86c59ea Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 22 Dec 2016 11:46:15 +0800 Subject: [PATCH] Make eslint happy. --- plugins/poll/assets/javascripts/widgets/discourse-poll.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/poll/assets/javascripts/widgets/discourse-poll.js.es6 b/plugins/poll/assets/javascripts/widgets/discourse-poll.js.es6 index e21ca5e0b5c..e6d961a5629 100644 --- a/plugins/poll/assets/javascripts/widgets/discourse-poll.js.es6 +++ b/plugins/poll/assets/javascripts/widgets/discourse-poll.js.es6 @@ -141,7 +141,7 @@ createWidget('discourse-poll-standard-results', { const ordered = options.sort((a, b) => { if (a.votes < b.votes) { return 1; - } else if (a.votes == b.votes) { + } else if (a.votes === b.votes) { if (a.html < b.html) { return -1; } else {