Преглед на файлове

update main window when current slide changes in notes (closes #343)

Hakim El Hattab преди 11 години
родител
ревизия
d7b92c9c65
променени са 1 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 7 0
      plugin/notes/notes.html

+ 7 - 0
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 {