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:
parent
b885cfdc83
commit
9077782c17
11 changed files with 20 additions and 28 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue