summaryrefslogtreecommitdiffhomepage
path: root/plugin/multiplex
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/multiplex')
-rw-r--r--plugin/multiplex/client.js2
-rw-r--r--plugin/multiplex/master.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/multiplex/client.js b/plugin/multiplex/client.js
index cb7b27a..0e0b39b 100644
--- a/plugin/multiplex/client.js
+++ b/plugin/multiplex/client.js
@@ -1,5 +1,5 @@
(function() {
- var multiplex = window.globals.multiplex;
+ var multiplex = Reveal.getConfig().multiplex;
var socketId = multiplex.id;
var socket = io.connect(multiplex.url);
diff --git a/plugin/multiplex/master.js b/plugin/multiplex/master.js
index 5c18390..75697d4 100644
--- a/plugin/multiplex/master.js
+++ b/plugin/multiplex/master.js
@@ -1,7 +1,7 @@
(function() {
// don't emit events from inside the previews themselves
if ( window.location.search.match( /receiver/gi ) ) { return; }
- var multiplex = window.globals.multiplex;
+ var multiplex = Reveal.getConfig().multiplex;
var socket = io.connect(multiplex.url);