aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/slide-controller.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/slide-controller.js b/js/slide-controller.js
index 13faa93..416c17c 100644
--- a/js/slide-controller.js
+++ b/js/slide-controller.js
@@ -146,6 +146,10 @@
146 // } 146 // }
147 147
148 if ('keyCode' in data) { 148 if ('keyCode' in data) {
149 if (isNaN(data.keyCode)) {
150 return;
151 }
152
149 this.keyLock = data.keyCode; 153 this.keyLock = data.keyCode;
150 154
151 var evt = document.createEvent('Event'); 155 var evt = document.createEvent('Event');