Don't fire dragend if a dragstart did not occur due to a multitouch action. fixes #2256
This commit is contained in:
parent
16d12f4ac0
commit
58551506f2
@ -121,7 +121,7 @@ L.Draggable = L.Class.extend({
|
||||
L.DomUtil.enableImageDrag();
|
||||
L.DomUtil.enableTextSelection();
|
||||
|
||||
if (this._moved) {
|
||||
if (this._moved && this._moving) {
|
||||
// ensure drag is not fired after dragend
|
||||
L.Util.cancelAnimFrame(this._animRequest);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user