aboutsummaryrefslogtreecommitdiff
path: root/plugin/notes/notes.html
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-02-27 16:55:42 -0500
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-02-27 16:55:42 -0500
commitd7b92c9c6581dd33567a03bc2f0a3c7f4d5c305d (patch)
tree4abeed1eb6720487bec215e83c41904f52cc3b17 /plugin/notes/notes.html
parentc2ab30b87e7f9aa856e9d7313183f462ba0fec0b (diff)
downloadfreenode-live-2017-presentation-d7b92c9c6581dd33567a03bc2f0a3c7f4d5c305d.tar
freenode-live-2017-presentation-d7b92c9c6581dd33567a03bc2f0a3c7f4d5c305d.tar.gz
update main window when current slide changes in notes (closes #343)
Diffstat (limited to 'plugin/notes/notes.html')
-rw-r--r--plugin/notes/notes.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html
index 50d172a..e14c6ac 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 {