Skip to content

Commit

Permalink
New build files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon West committed Aug 4, 2016
1 parent ba82f41 commit e1aaa95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion dist/leaflet.draw-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,7 @@ L.Edit.PolyVerticesEdit = L.Handler.extend({
marker1._middleRight = marker2._middleLeft = marker;

onDragStart = function () {
marker.off('touchmove', onDragStart, this);
var i = marker2._index;

marker._index = i;
Expand Down Expand Up @@ -3164,7 +3165,9 @@ L.EditToolbar = L.Toolbar.extend({

_save: function () {
this._activeMode.handler.save();
this._activeMode.handler.disable();
if (this._activeMode) {
this._activeMode.handler.disable();
}
},

_checkDisabled: function () {
Expand Down
Loading

0 comments on commit e1aaa95

Please sign in to comment.