aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-10-16 13:27:58 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-10-16 13:27:58 +0200
commit136d27936141586ddd16e78a3bfa44f2ea2f25fb (patch)
tree96fbf2e9d08c86f6f707c5b22baff7a1d7232a2c /js
parentcef19486b89ed7d101acfc1992af2e49e88c371d (diff)
downloadperl-software-in-gnu-guix-136d27936141586ddd16e78a3bfa44f2ea2f25fb.tar
perl-software-in-gnu-guix-136d27936141586ddd16e78a3bfa44f2ea2f25fb.tar.gz
continue auto-sliding through fragments on last slide #974
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index a0b92ac..ef52ac6 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3317,7 +3317,7 @@
// - The presentation isn't paused
// - The overview isn't active
// - The presentation isn't over
- if( autoSlide && !autoSlidePaused && !isPaused() && !isOverview() && ( !Reveal.isLastSlide() || config.loop === true ) ) {
+ if( autoSlide && !autoSlidePaused && !isPaused() && !isOverview() && ( !Reveal.isLastSlide() || availableFragments().next || config.loop === true ) ) {
autoSlideTimeout = setTimeout( navigateNext, autoSlide );
autoSlideStartTime = Date.now();
}