File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 503503 }
504504
505505 // Panning
506- $ ( "body" ) . on ( "mouseup." + pluginName + ( zoomOptions . touch ? " touchend" : "" ) , function ( ) {
506+ $ ( "body" ) . on ( "mouseup." + pluginName + ( zoomOptions . touch ? " touchend." + pluginName : "" ) , function ( ) {
507507 mousedown = false ;
508508 setTimeout ( function ( ) {
509509 self . panning = false ;
510510 } , 50 ) ;
511511 } ) ;
512512
513- self . $map . on ( "mousedown." + pluginName + ( zoomOptions . touch ? " touchstart" : "" ) , function ( e ) {
513+ self . $map . on ( "mousedown." + pluginName + ( zoomOptions . touch ? " touchstart." + pluginName : "" ) , function ( e ) {
514514 if ( e . pageX !== undefined ) {
515515 mousedown = true ;
516516 previousX = e . pageX ;
522522 previousY = e . originalEvent . touches [ 0 ] . pageY ;
523523 }
524524 }
525- } ) . on ( "mousemove." + pluginName + ( zoomOptions . touch ? " touchmove" : "" ) , function ( e ) {
525+ } ) . on ( "mousemove." + pluginName + ( zoomOptions . touch ? " touchmove." + pluginName : "" ) , function ( e ) {
526526 var currentLevel = self . zoomData . zoomLevel ;
527527 var pageX = 0 ;
528528 var pageY = 0 ;
You can’t perform that action at this time.
0 commit comments