Merge pull request #308 from cfis/dragend

Fix map reference for _onDragEnd method.
This commit is contained in:
Vladimir Agafonkin 2011-09-23 14:26:56 -07:00
commit 076defae69

View File

@ -63,7 +63,7 @@ L.Handler.MapDrag = L.Handler.extend({
}, },
_onDragEnd: function() { _onDragEnd: function() {
map.fire('moveend'); this._map.fire('moveend');
map.fire('dragend'); this._map.fire('dragend');
} }
}); });