Quit immediately if not ready

This commit is contained in:
Dmitry Lyzo
2024-09-14 01:49:02 +03:00
parent de71d1ef46
commit d20c617d30
+2 -1
View File
@@ -89,9 +89,10 @@ export class PdfPlayer {
}
onWindowKeyUp(e) {
if (!this.loaded) return;
const key = keyboardnavigation.getKeyName(e);
if (!this.loaded) return;
switch (key) {
case 'l':
case 'ArrowRight':