1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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

View file

@ -1352,7 +1352,7 @@ export default function (view) {
case 'GamepadDPadLeft':
case 'GamepadLeftThumbstickLeft':
// Ignores gamepad events that are always triggered, even when not focused.
if (document.hasFocus()) { /* eslint-disable-line compat/compat */
if (document.hasFocus()) {
playbackManager.rewind(currentPlayer);
showOsd(btnRewind);
}
@ -1361,7 +1361,7 @@ export default function (view) {
case 'GamepadDPadRight':
case 'GamepadLeftThumbstickRight':
// Ignores gamepad events that are always triggered, even when not focused.
if (document.hasFocus()) { /* eslint-disable-line compat/compat */
if (document.hasFocus()) {
playbackManager.fastForward(currentPlayer);
showOsd(btnFastForward);
}