diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-07-06 21:34:53 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-07-06 21:35:02 +0200 |
commit | c4ccb08ab00dc318d22f381bccd9b78853376bae (patch) | |
tree | 06346c9ddc1df27e8101bf7949ebe00e13bd1f63 /client/src/assets | |
parent | c9e96ead93b2f6fb12d44ac3def136ae2bffc54b (diff) | |
download | PeerTube-c4ccb08ab00dc318d22f381bccd9b78853376bae.tar.gz PeerTube-c4ccb08ab00dc318d22f381bccd9b78853376bae.tar.zst PeerTube-c4ccb08ab00dc318d22f381bccd9b78853376bae.zip |
(client/player) disable hotkeys modifiers for numbers
fixes #771
Diffstat (limited to 'client/src/assets')
-rw-r--r-- | client/src/assets/player/peertube-player.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player.ts b/client/src/assets/player/peertube-player.ts index 7c9a43ed9..7e339990c 100644 --- a/client/src/assets/player/peertube-player.ts +++ b/client/src/assets/player/peertube-player.ts | |||
@@ -55,7 +55,8 @@ function getVideojsOptions (options: { | |||
55 | if (options.enableHotkeys === true) { | 55 | if (options.enableHotkeys === true) { |
56 | Object.assign(videojsOptions.plugins, { | 56 | Object.assign(videojsOptions.plugins, { |
57 | hotkeys: { | 57 | hotkeys: { |
58 | enableVolumeScroll: false | 58 | enableVolumeScroll: false, |
59 | enableModifiersForNumbers: false | ||
59 | } | 60 | } |
60 | }) | 61 | }) |
61 | } | 62 | } |