Fix autofixable eslint warnings

This commit is contained in:
Bill Thornton
2025-03-27 11:32:16 -04:00
parent b885cfdc83
commit 9077782c17
11 changed files with 20 additions and 28 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ function attachGamepadScript() {
}
// No need to check for gamepads manually at load time, the eventhandler will be fired for that
if (navigator.getGamepads && appSettings.enableGamepad()) { /* eslint-disable-line compat/compat */
if (navigator.getGamepads && appSettings.enableGamepad()) {
window.addEventListener('gamepadconnected', attachGamepadScript);
}