mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Prevent more default actions for hotkeys
This commit is contained in:
parent
4c68f500d9
commit
b2676c1633
4 changed files with 13 additions and 0 deletions
|
@ -97,14 +97,17 @@ export class PdfPlayer {
|
|||
case 'l':
|
||||
case 'ArrowRight':
|
||||
case 'Right':
|
||||
e.preventDefault();
|
||||
this.next();
|
||||
break;
|
||||
case 'j':
|
||||
case 'ArrowLeft':
|
||||
case 'Left':
|
||||
e.preventDefault();
|
||||
this.previous();
|
||||
break;
|
||||
case 'Escape':
|
||||
e.preventDefault();
|
||||
this.stop();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue