continue auto-sliding through fragments on last slide #974

This commit is contained in:
Hakim El Hattab 2014-10-16 13:27:58 +02:00
parent cef19486b8
commit 136d279361

View file

@ -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();
}