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
+1 -1
View File
@@ -1471,7 +1471,7 @@ var Reveal = (function(){
*/
function isAutoSliding() {
return !autoSlidePaused;
return !!( autoSlide && !autoSlidePaused );
}
+2 -2
View File
File diff suppressed because one or more lines are too long