diff --git a/dist/leaflet.draw-src.js b/dist/leaflet.draw-src.js index 04f286a6f..9c97f1eef 100644 --- a/dist/leaflet.draw-src.js +++ b/dist/leaflet.draw-src.js @@ -1345,7 +1345,6 @@ L.Edit.SimpleShape = L.Handler.extend({ var marker = e.target; marker.setOpacity(1); - this._shape.fire('edit'); this._fireEdit(); }, @@ -2678,4 +2677,4 @@ L.EditToolbar.Delete = L.Handler.extend({ }); -}(this, document)); \ No newline at end of file +}(this, document)); diff --git a/src/edit/handler/Edit.SimpleShape.js b/src/edit/handler/Edit.SimpleShape.js index dc8737fde..fa7ec1040 100644 --- a/src/edit/handler/Edit.SimpleShape.js +++ b/src/edit/handler/Edit.SimpleShape.js @@ -124,7 +124,6 @@ L.Edit.SimpleShape = L.Handler.extend({ var marker = e.target; marker.setOpacity(1); - this._shape.fire('edit'); this._fireEdit(); }, @@ -135,4 +134,4 @@ L.Edit.SimpleShape = L.Handler.extend({ _resize: function () { // Children override } -}); \ No newline at end of file +});