aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugin/multiplex/client.js
diff options
context:
space:
mode:
authorDavid Banham2013-03-08 11:51:58 +1100
committerDavid Banham2013-03-08 12:43:18 +1100
commit580a72c4449c57cb743e09f44eeeb374cd00f172 (patch)
tree684a7f7920e903f6372e590d606aede0b09fb287 /plugin/multiplex/client.js
parent61c229a4f969a0720085c2710f8a7cfd8a12b4a6 (diff)
Bring multiplex up to date
Diffstat (limited to 'plugin/multiplex/client.js')
-rw-r--r--plugin/multiplex/client.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/multiplex/client.js b/plugin/multiplex/client.js
index 6fc0d4d..cb7b27a 100644
--- a/plugin/multiplex/client.js
+++ b/plugin/multiplex/client.js
@@ -1,4 +1,5 @@
(function() {
+ var multiplex = window.globals.multiplex;
var socketId = multiplex.id;
var socket = io.connect(multiplex.url);
@@ -7,6 +8,6 @@
if (data.socketId !== socketId) { return; }
if( window.location.host === 'localhost:1947' ) return;
- Reveal.navigateTo(data.indexh, data.indexv, 'remote');
+ Reveal.slide(data.indexh, data.indexv, null, 'remote');
});
}());