Procházet zdrojové kódy

continue auto-sliding through fragments on last slide #974

Hakim El Hattab před 10 roky
rodič
revize
136d279361
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      js/reveal.js

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