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
1 changed files with 1 additions and 1 deletions

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