From d2aac61543c691190290089497440f6d13e0f8f6 Mon Sep 17 00:00:00 2001 From: Mihai Cazacu Date: Sat, 28 Sep 2013 14:40:55 +0300 Subject: [PATCH] fix for: 2 identical events issued for one action --- src/edit/handler/Edit.SimpleShape.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 +});