Skip to content

Commit

Permalink
continue auto-sliding through fragments on last slide #974
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Oct 16, 2014
1 parent cef1948 commit 136d279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 136d279

Please # to comment.