Make eslint happy.
This commit is contained in:
parent
288e5faf6b
commit
ed72920444
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue