Make eslint happy.

This commit is contained in:
Guo Xiang Tan 2016-12-22 11:46:15 +08:00
parent 288e5faf6b
commit ed72920444
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ createWidget('discourse-poll-standard-results', {
const ordered = options.sort((a, b) => { const ordered = options.sort((a, b) => {
if (a.votes < b.votes) { if (a.votes < b.votes) {
return 1; return 1;
} else if (a.votes == b.votes) { } else if (a.votes === b.votes) {
if (a.html < b.html) { if (a.html < b.html) {
return -1; return -1;
} else { } else {