summaryrefslogtreecommitdiffhomepage
path: root/plugin/multiplex/master.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/multiplex/master.js')
-rw-r--r--plugin/multiplex/master.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugin/multiplex/master.js b/plugin/multiplex/master.js
index a896244..5c18390 100644
--- a/plugin/multiplex/master.js
+++ b/plugin/multiplex/master.js
@@ -4,7 +4,7 @@
var multiplex = window.globals.multiplex;
var socket = io.connect(multiplex.url);
-
+
Reveal.addEventListener( 'slidechanged', function( event ) {
var nextindexh;
var nextindexv;
@@ -18,7 +18,6 @@
nextindexv = 0;
}
- var notes = slideElement.querySelector('aside.notes');
var slideData = {
indexh : event.indexh,
indexv : event.indexv,
@@ -28,6 +27,6 @@
socketId : multiplex.id
};
- if( typeof event.origin === 'undefined' && event.origin !== 'remote') socket.emit('slidechanged', slideData);
+ if( typeof event.origin === 'undefined' && event.origin !== 'remote' ) socket.emit('slidechanged', slideData);
} );
}());