use internal pointer for current slide

edit
Hakim El Hattab 2019-03-11 15:03:13 +01:00
parent 69ee643846
commit 5adc2032c0
1 changed files with 2 additions and 2 deletions

View File

@ -2976,7 +2976,7 @@
function syncSlide( slide ) {
// Default to the current slide
slide = slide || Reveal.getCurrentSlide();
slide = slide || currentSlide;
syncBackground( slide );
syncFragments( slide );
@ -2999,7 +2999,7 @@
function syncFragments( slide ) {
// Default to the current slide
slide = slide || Reveal.getCurrentSlide();
slide = slide || currentSlide;
return sortFragments( slide.querySelectorAll( '.fragment' ) );