aboutsummaryrefslogtreecommitdiff
path: root/pointless
diff options
context:
space:
mode:
authorpacien2018-07-18 23:31:54 +0200
committerpacien2018-07-18 23:31:54 +0200
commit7a69146d0d7b667bae73970932114a0f8242fca5 (patch)
tree2701c18cd196095eef113260a733835dfcfcb093 /pointless
parent939c748aa11cdf34540aae569cd6f7b026a266a1 (diff)
downloadbeamer-viewer-7a69146d0d7b667bae73970932114a0f8242fca5.tar.gz
Use alternate key event supported by Chrome
Diffstat (limited to 'pointless')
-rw-r--r--pointless/viewer/stage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pointless/viewer/stage.js b/pointless/viewer/stage.js
index fa984fe..8c36981 100644
--- a/pointless/viewer/stage.js
+++ b/pointless/viewer/stage.js
@@ -33,7 +33,7 @@ class Stage {
33 33
34 _registerEventHandler(window) { 34 _registerEventHandler(window) {
35 var self = this; 35 var self = this;
36 window.addEventListener("keypress", function(event) { 36 window.addEventListener("keydown", function(event) {
37 self._onCommand(event); 37 self._onCommand(event);
38 }) 38 })
39 } 39 }