forked from blallo/talk-hm-0x15
update main window when current slide changes in notes (closes #343)
This commit is contained in:
parent
c2ab30b87e
commit
d7b92c9c65
1 changed files with 7 additions and 0 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in a new issue