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

Quit immediately if not ready

This commit is contained in:
Dmitry Lyzo 2024-09-14 01:49:02 +03:00
parent de71d1ef46
commit d20c617d30

View file

@ -89,9 +89,10 @@ export class PdfPlayer {
} }
onWindowKeyUp(e) { onWindowKeyUp(e) {
if (!this.loaded) return;
const key = keyboardnavigation.getKeyName(e); const key = keyboardnavigation.getKeyName(e);
if (!this.loaded) return;
switch (key) { switch (key) {
case 'l': case 'l':
case 'ArrowRight': case 'ArrowRight':