diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-10 21:33:10 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-10 21:50:32 +0900 |
commit | b9e177f800dbda880e8466e40c60dd21b1c6280d (patch) | |
tree | fc3e8b1df4a443cebc4fea993a9940aae1da2190 /src/content/components/content-input.js | |
parent | 01dfb156540bc21333490e07ad1e24be0f1eaeca (diff) |
ignore meta keys on input
Diffstat (limited to 'src/content/components/content-input.js')
-rw-r--r-- | src/content/components/content-input.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/components/content-input.js b/src/content/components/content-input.js index 9568caf..0ba4bcb 100644 --- a/src/content/components/content-input.js +++ b/src/content/components/content-input.js @@ -42,7 +42,8 @@ export default class ContentInputComponent { } return; } - if (e.key === 'OS') { + if (['Shift', 'Control', 'Alt', 'OS'].includes(e.key)) { + // pressing only meta key is ignored return; } |