diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2019-03-11 15:03:13 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2019-03-11 15:03:13 +0100 |
commit | 5adc2032c0d9d49a8b784d4a4f271999ad7e63a9 (patch) | |
tree | a20522d78458bfce27af140ab0b062ec30330909 | |
parent | 69ee643846e059c7b49264831c632bdf9701f8e0 (diff) | |
download | perl-software-in-gnu-guix-5adc2032c0d9d49a8b784d4a4f271999ad7e63a9.tar perl-software-in-gnu-guix-5adc2032c0d9d49a8b784d4a4f271999ad7e63a9.tar.gz |
use internal pointer for current slide
-rw-r--r-- | js/reveal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js index 552ba5d..616a935 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -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' ) ); |