diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-03 21:31:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 21:31:25 +0900 |
commit | 3244c3c35db7639dc1bb08d9b0bcd40323e9d626 (patch) | |
tree | 1acf04feeb4b246240e573744306d227620c7294 /src/components/background.js | |
parent | b5e52a75d760c23d2ac7257056f9ba592ad17b34 (diff) | |
parent | 4b5616b5244f14a8e6b1edf59e944edb7d8ae2d4 (diff) |
Merge pull request #16 from ueokande/enable-keys
Enable keys on github.com
Diffstat (limited to 'src/components/background.js')
-rw-r--r-- | src/components/background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/background.js b/src/components/background.js index 4c5bb19..0585a04 100644 --- a/src/components/background.js +++ b/src/components/background.js @@ -35,7 +35,7 @@ export default class BackgroundComponent { switch (message.type) { case messages.KEYDOWN: return this.store.dispatch( - inputActions.keyPress(message.code, message.ctrl), sender); + inputActions.keyPress(message.key, message.ctrl), sender); case messages.OPEN_URL: if (message.newTab) { return this.store.dispatch( |