Skip to content
Snippets Groups Projects
Commit 3b073eee authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

fix incorrect navigation in notes window (closes #241)

parent 10317438
No related branches found
No related tags found
No related merge requests found
......@@ -119,10 +119,6 @@
}
}
// Update the note slides
currentSlide.contentWindow.Reveal.slide( data.indexh, data.indexv );
nextSlide.contentWindow.Reveal.slide( data.nextindexh, data.nextindexv );
// Showing and hiding fragments
if( data.fragment === 'next' ) {
currentSlide.contentWindow.Reveal.nextFragment();
......@@ -130,6 +126,11 @@
else if( data.fragment === 'prev' ) {
currentSlide.contentWindow.Reveal.prevFragment();
}
else {
// Update the note slides
currentSlide.contentWindow.Reveal.slide( data.indexh, data.indexv );
nextSlide.contentWindow.Reveal.slide( data.nextindexh, data.nextindexv );
}
}, false );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment