From: Hakim El Hattab Date: Wed, 4 Jul 2012 19:09:58 +0000 (-0400) Subject: small tweaks to notes page style X-Git-Tag: 1.4.0~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c1a4add3a760a4bd9e68a4d8c02e36dac7cafdc;p=reveal.js.git small tweaks to notes page style --- diff --git a/lib/slidenotes/notes.html b/lib/slidenotes/notes.html index 4201647..404b023 100644 --- a/lib/slidenotes/notes.html +++ b/lib/slidenotes/notes.html @@ -6,22 +6,27 @@ reveal.js - Slide Notes -
- +
+
-
+
+ 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); });