From 75480b5bf43cb3fd542a535aec7f34d295179b71 Mon Sep 17 00:00:00 2001 From: Jeroen Hermans Date: Sun, 15 Nov 2020 21:46:33 +0100 Subject: [PATCH] Remove unused argument --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }