test isAutoSliding, isAutoSliding returns false when no autoSlide value is set #766

This commit is contained in:
Hakim El Hattab
2013-12-21 17:33:30 +01:00
parent 137ddf5472
commit ed4cdaf9e7
3 changed files with 13 additions and 3 deletions

View File

@ -1471,7 +1471,7 @@ var Reveal = (function(){
*/
function isAutoSliding() {
return !autoSlidePaused;
return !!( autoSlide && !autoSlidePaused );
}

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long