+
+ UPCOMING
@@ -68,7 +92,7 @@
var socketId = '{{socketId}}';
var socket = io.connect(window.location.origin);
var notes = document.getElementById('notes');
- var slides = document.getElementById('slides');
+ var currentSlide = document.getElementById('current-slide');
var nextSlide = document.getElementById('next-slide');
socket.on('slidedata', function(data) {
@@ -76,7 +100,7 @@
if (data.socketId !== socketId) { return; }
notes.innerHTML = data.notes;
- slides.contentWindow.Reveal.navigateTo(data.indexh, data.indexv);
+ currentSlide.contentWindow.Reveal.navigateTo(data.indexh, data.indexv);
nextSlide.contentWindow.Reveal.navigateTo(data.nextindexh, data.nextindexv);
});