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:
parent
de71d1ef46
commit
d20c617d30
1 changed files with 2 additions and 1 deletions
|
@ -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':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue