Przeglądaj źródła

Remove unused argument

Jeroen Hermans 4 lat temu
rodzic
commit
75480b5bf4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      js/reveal.js

+ 1 - 1
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;
 			}