diff --git a/js/reveal.js b/js/reveal.js index ae35bf0..2355098 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -2146,7 +2146,7 @@ distanceX, distanceY; - if( horizontalSlidesLength ) { + if( horizontalSlidesLength && typeof indexh !== 'undefined' ) { // The number of steps away from the present slide that will // be visible