diff options
author | Hakim El Hattab | 2013-12-21 17:33:30 +0100 |
---|---|---|
committer | Hakim El Hattab | 2013-12-21 17:33:30 +0100 |
commit | ed4cdaf9e796fadbf2b4f2f5e9240ac56091fb73 (patch) | |
tree | 25dc486b8e8a2c0ad491b1d895efa84c27567ab4 /js/reveal.js | |
parent | 137ddf54722464fad6b726e21b98cfc0580050ec (diff) |
test isAutoSliding, isAutoSliding returns false when no autoSlide value is set #766
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); } |