aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }