mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-10 16:47:28 +02:00
update main window when current slide changes in notes (closes #343)
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
Reference in New Issue
Block a user