Merge pull request #2259 from danzel/fix2256
Don't fire dragend if a dragstart did not occur due to a multitouch action
This commit is contained in:
commit
bc686476fd
@ -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