From d7b92c9c6581dd33567a03bc2f0a3c7f4d5c305d Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 27 Feb 2013 16:55:42 -0500 Subject: [PATCH] update main window when current slide changes in notes (closes #343) --- plugin/notes/notes.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html index 50d172a9..e14c6ac7 100644 --- a/plugin/notes/notes.html +++ b/plugin/notes/notes.html @@ -225,6 +225,13 @@ }, 1000 ); + // Navigate the main window when the notes slide changes + currentSlide.contentWindow.Reveal.addEventListener( 'slidechanged', function( event ) { + + window.opener.Reveal.slide( event.indexh, event.indexv ); + + } ); + } else {