From 136d27936141586ddd16e78a3bfa44f2ea2f25fb Mon Sep 17 00:00:00 2001
From: Hakim El Hattab <hakim.elhattab@gmail.com>
Date: Thu, 16 Oct 2014 13:27:58 +0200
Subject: [PATCH] continue auto-sliding through fragments on last slide #974

---
 js/reveal.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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