Skip to content

Commit

Permalink
fix for: 2 identical events issued for one action
Browse files Browse the repository at this point in the history
  • Loading branch information
cazacugmihai committed Sep 28, 2013
1 parent 026a23b commit d2aac61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/edit/handler/Edit.SimpleShape.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ L.Edit.SimpleShape = L.Handler.extend({
var marker = e.target;
marker.setOpacity(1);

this._shape.fire('edit');
this._fireEdit();
},

Expand All @@ -135,4 +134,4 @@ L.Edit.SimpleShape = L.Handler.extend({
_resize: function () {
// Children override
}
});
});

0 comments on commit d2aac61

Please sign in to comment.