files/reveal.js/plugin/multiplex/client.js in reveal-ck-3.6.0 vs files/reveal.js/plugin/multiplex/client.js in reveal-ck-3.7.0
- old
+ new
@@ -6,8 +6,8 @@
socket.on(multiplex.id, function(data) {
// ignore data from sockets that aren't ours
if (data.socketId !== socketId) { return; }
if( window.location.host === 'localhost:1947' ) return;
- Reveal.slide(data.indexh, data.indexv, data.indexf, 'remote');
+ Reveal.setState(data.state);
});
}());