@@ -107,7 +107,7 @@ function AutoScrollPlugin() {
107107 // MACOS Safari does not have autoscroll,
108108 // Firefox and Chrome are good
109109 if ( fallback || Edge || IE11OrLess || Safari ) {
110- autoScroll ( evt , this . options , elem , fallback ) ;
110+ autoScroll ( evt , this . sortable . options , elem , fallback ) ;
111111
112112 // Listener for pointer element change
113113 let ogElemScroller = getParentAutoScrollElement ( elem , true ) ;
@@ -127,7 +127,7 @@ function AutoScrollPlugin() {
127127 ogElemScroller = newElem ;
128128 clearAutoScrolls ( ) ;
129129 }
130- autoScroll ( evt , this . options , newElem , fallback ) ;
130+ autoScroll ( evt , this . sortable . options , newElem , fallback ) ;
131131 } , 10 ) ;
132132 lastAutoScrollX = x ;
133133 lastAutoScrollY = y ;
@@ -138,7 +138,7 @@ function AutoScrollPlugin() {
138138 clearAutoScrolls ( ) ;
139139 return ;
140140 }
141- autoScroll ( evt , this . options , getParentAutoScrollElement ( elem , false ) , false ) ;
141+ autoScroll ( evt , this . sortable . options , getParentAutoScrollElement ( elem , false ) , false ) ;
142142 }
143143 }
144144 } ;
0 commit comments