Bug: difficulties.indexOf(difficulty.toUpperCase()) — the array has 'Nintendo' (mixed case) but toUpperCase() gives 'NINTENDO' which doesn't match, so currentIdx = -1 and -1 < suggestedIdx always true. The suggestion kept firing even when already on Nintendo. (IWBTH worked by luck since uppercase == itself.) Fix: case-insensitive findIndex comparison on both sides. |
||
|---|---|---|
| .. | ||
| build.sh | ||
| hv-unified.user.js | ||
| latest.user.js | ||