aboutsummaryrefslogtreecommitdiff
path: root/src/content/index.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-09-17 11:25:42 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-09-17 11:54:26 +0900
commit0be9776cb3d9033bcd3ae569bec71b300f2d4073 (patch)
tree660319562633cf1cb9007469646d6884647aae74 /src/content/index.js
parentac8b40a2f3a50bb30f121dcc1a454074498e7bf7 (diff)
fix ctrl modifier
Diffstat (limited to 'src/content/index.js')
-rw-r--r--src/content/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/index.js b/src/content/index.js
index 0e4f7e1..9fd46be 100644
--- a/src/content/index.js
+++ b/src/content/index.js
@@ -15,7 +15,7 @@ window.addEventListener('keypress', (e) => {
browser.runtime.sendMessage({
type: messages.KEYDOWN,
code: e.which,
- ctrl: e.ctrl
+ ctrl: e.ctrlKey
});
});