Remove mouseout binding on up
This commit is contained in:
parent
e614b60d2b
commit
95abf5a385
@ -173,6 +173,8 @@ L.Draggable = L.Class.extend({
|
||||
.off(document, L.Draggable.END[i], this._onUp);
|
||||
}
|
||||
|
||||
L.DomEvent.off(document, 'mouseout', this._onUp);
|
||||
|
||||
if (this._moved) {
|
||||
// ensure drag is not fired after dragend
|
||||
L.Util.cancelAnimFrame(this._animRequest);
|
||||
|
Loading…
Reference in New Issue
Block a user