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 {