From ed4cdaf9e796fadbf2b4f2f5e9240ac56091fb73 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sat, 21 Dec 2013 17:33:30 +0100 Subject: test isAutoSliding, isAutoSliding returns false when no autoSlide value is set #766 --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/reveal.js') diff --git a/js/reveal.js b/js/reveal.js index b868d13..0de1d4d 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1471,7 +1471,7 @@ var Reveal = (function(){ */ function isAutoSliding() { - return !autoSlidePaused; + return !!( autoSlide && !autoSlidePaused ); } -- cgit v1.2.3