Pārlūkot izejas kodu

Remove unused argument

Jeroen Hermans 4 gadi atpakaļ
vecāks
revīzija
75480b5bf4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
 			}