diff options
author | Pacien TRAN-GIRARD | 2014-07-06 01:02:50 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-07-06 01:02:50 +0200 |
commit | d78b8e18a81fe660e14196a7af44c6f8969e6129 (patch) | |
tree | 78be81aa77a080cd05f57e09df9b9c9dd8c5921d | |
parent | c7f49479058301bf64e2f52306a77c7efe8ffbe7 (diff) | |
download | io-slides-remote-master.tar.gz |
-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 | }); |