mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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