hotkeys.js: ignore if e.ctrlKey
This commit is contained in:
parent
05a7907be4
commit
8222b6205b
@ -4,7 +4,8 @@ function onKeyDown(e) {
|
||||
// console.log(e);
|
||||
let v = Q("video");
|
||||
let c = e.key.toLowerCase();
|
||||
if (c == "k") {
|
||||
if (e.ctrlKey) return;
|
||||
else if (c == "k") {
|
||||
v.paused ? v.play() : v.pause();
|
||||
}
|
||||
else if (c == "arrowleft") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user