diff --git a/js/reveal.js b/js/reveal.js index 67ad0b8..727cc8e 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -2290,7 +2290,7 @@ export default function( revealElement, options ) { // When looping is enabled `routes.down` is always available // so we need a separate check for when we've reached the // end of a stack and should move horizontally - if( routes.down && routes.right && config.loop && isLastVerticalSlide( currentSlide ) ) { + if( routes.down && routes.right && config.loop && isLastVerticalSlide() ) { routes.down = false; }