Skip to content

Commit

Permalink
update main window when current slide changes in notes (closes hakime…
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Feb 27, 2013
1 parent c2ab30b commit d7b92c9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugin/notes/notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,13 @@ <h2>Elapsed</h2>

}, 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 {

Expand Down

0 comments on commit d7b92c9

Please sign in to comment.