aboutsummaryrefslogtreecommitdiff
path: root/src/components/content-input.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/content-input.js')
-rw-r--r--src/components/content-input.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/content-input.js b/src/components/content-input.js
index 81f2e6b..53a2f7d 100644
--- a/src/components/content-input.js
+++ b/src/components/content-input.js
@@ -18,7 +18,7 @@ export default class ContentInputComponent {
}
browser.runtime.sendMessage({
type: messages.KEYDOWN,
- code: e.which,
+ key: e.key,
ctrl: e.ctrlKey
});
}