commit ddc52268bd00f656ac1d4301b580c287c84f314d
parent 25d776cb379148777373f44cb0c3d6daac41a7d1
Author: Sergey Orlov <wladimirych@gmail.com>
Date: Fri, 16 Apr 2021 14:16:35 +0300
placemark: remove invalid unsubscribe
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/lib/leaflet.placemark/index.js b/src/lib/leaflet.placemark/index.js
@@ -27,7 +27,6 @@ const Placemark = L.Marker.extend({
},
onRemove: function(map) {
- this._map.off('move', this.onMapMove, this);
this._map.off('click', this.onMapClick, this);
this._map.suggestedPoint = null;
L.Marker.prototype.onRemove.call(this, map);