File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ if ( 'querySelector' in document && 'addEventListener' in window ) {
6464 var slides , slidePos , width , length ;
6565 options = options || { } ;
6666 var index = parseInt ( options . startSlide - 1 , 10 ) || 0 ;
67- var speed = options . speed || 300 ;
67+ var speed = options . speed !== undefined ? options . speed : 300 ;
6868 options . continuous = options . continuous !== undefined ? options . continuous : true ;
6969
7070 var setup = function ( ) {
@@ -211,6 +211,10 @@ if ( 'querySelector' in document && 'addEventListener' in window ) {
211211 if ( ! speed ) {
212212
213213 element . style . left = to + 'px' ;
214+
215+ visibleThree ( index , slides ) ;
216+ options . transitionEnd && options . transitionEnd . call ( event , index , slides [ index ] ) ;
217+
214218 return ;
215219
216220 }
You can’t perform that action at this time.
0 commit comments