aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-07-06 01:02:50 +0200
committerPacien TRAN-GIRARD2014-07-06 01:02:50 +0200
commitd78b8e18a81fe660e14196a7af44c6f8969e6129 (patch)
tree78be81aa77a080cd05f57e09df9b9c9dd8c5921d
parentc7f49479058301bf64e2f52306a77c7efe8ffbe7 (diff)
downloadio-slides-remote-d78b8e18a81fe660e14196a7af44c6f8969e6129.tar.gz
Fix remote message parsingHEADmaster
-rw-r--r--js/slide-controller.js2
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 });