diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-10 21:54:38 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-10 21:54:38 +0900 |
commit | 77cc3778032a1cc774e26aa3ebe43991b3b4d5cf (patch) | |
tree | fc3e8b1df4a443cebc4fea993a9940aae1da2190 /src | |
parent | 01dfb156540bc21333490e07ad1e24be0f1eaeca (diff) | |
parent | b9e177f800dbda880e8466e40c60dd21b1c6280d (diff) |
Merge pull request #45 from ueokande/fix-38
Ignore meta keys on input
Diffstat (limited to 'src')
-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; } |