Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 2df141c

Browse files
author
piebev
committed
do not catch shortcut keys when ctrl or alt is pressed
1 parent 06dd75d commit 2df141c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var KEY = {
3232
return true;
3333
}
3434

35-
if (e.metaKey) return true;
35+
if (e.metaKey || e.ctrlKey || e.altKey) return true;
3636

3737
return false;
3838
},

0 commit comments

Comments
 (0)