mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
Make eslint happy.
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user