Fixed click event after disabled dragging bug, closed #434
This commit is contained in:
parent
6040d8bf77
commit
df0800e678
@ -26,6 +26,7 @@ Leaflet Changelog
|
||||
### Bug fixes
|
||||
|
||||
* Fixed a bug where `TileLayer.WMS` wouldn't take `insertAtTheBottom` option into account (by [@bmcbride](https://github.com/bmcbride)). [#478](https://github.com/CloudMade/Leaflet/pull/478)
|
||||
* Fixed a bug where marker click event would stop working if you dragged it and then disabled dragging. [#434](https://github.com/CloudMade/Leaflet/issues/434)
|
||||
|
||||
## 0.3.2 RC
|
||||
|
||||
|
@ -31,6 +31,7 @@ L.Draggable = L.Class.extend({
|
||||
}
|
||||
L.DomEvent.removeListener(this._dragStartTarget, L.Draggable.START, this._onDown);
|
||||
this._enabled = false;
|
||||
this._moved = false;
|
||||
},
|
||||
|
||||
_onDown: function (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user