diff options
-rw-r--r-- | js/slide-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/slide-controller.js b/js/slide-controller.js index 2fb2560..64186eb 100644 --- a/js/slide-controller.js +++ b/js/slide-controller.js | |||
@@ -143,7 +143,7 @@ | |||
143 | console.log('Received from remote: ' + message); | 143 | console.log('Received from remote: ' + message); |
144 | self.onMessage_({ | 144 | self.onMessage_({ |
145 | data : { | 145 | data : { |
146 | keyCode : parseInt(message[0]) | 146 | keyCode : parseInt(message) |
147 | } | 147 | } |
148 | }); | 148 | }); |
149 | }); | 149 | }); |