diff options
-rw-r--r-- | client/src/assets/player/shared/hotkeys/peertube-hotkeys-plugin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/shared/hotkeys/peertube-hotkeys-plugin.ts b/client/src/assets/player/shared/hotkeys/peertube-hotkeys-plugin.ts index 5920450bd..8255245b5 100644 --- a/client/src/assets/player/shared/hotkeys/peertube-hotkeys-plugin.ts +++ b/client/src/assets/player/shared/hotkeys/peertube-hotkeys-plugin.ts | |||
@@ -160,7 +160,7 @@ class PeerTubeHotkeysPlugin extends Plugin { | |||
160 | // 0-9 key handlers | 160 | // 0-9 key handlers |
161 | for (let i = 0; i < 10; i++) { | 161 | for (let i = 0; i < 10; i++) { |
162 | handlers.push({ | 162 | handlers.push({ |
163 | accept: e => e.key === i + '', | 163 | accept: e => e.key === i + '' && !e.ctrlKey, // If using ctrl key, it's a web browser hotkey |
164 | cb: e => { | 164 | cb: e => { |
165 | e.preventDefault() | 165 | e.preventDefault() |
166 | 166 | ||