Run eslint with --fix

This commit is contained in:
awsr
2026-01-02 18:45:45 -08:00
parent ff542b743e
commit 74fee1aeb1
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ function sortExtraNetworks(fixed = 'no') {
const cards = Array.from(pg.querySelectorAll('.card') || []);
if (cards.length === 0) return 'sort: no cards';
num += cards.length;
cards.sort((a, b) => { // eslint-disable-line no-loop-func
cards.sort((a, b) => {
switch (sortVal) {
case 0: return 0;
case 1: return a.dataset.name ? a.dataset.name.localeCompare(b.dataset.name) : 0;