Skip to content

Commit

Permalink
FIXED: marker edit respects draggable option now (patch) (Fixes #213)
Browse files Browse the repository at this point in the history
  • Loading branch information
codeofsumit committed Sep 10, 2017
1 parent 89bccf9 commit f9e1f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Edit/L.PM.Edit.Marker.js
Expand Up @@ -36,7 +36,7 @@ Edit.Marker = Edit.extend({
this._layer.on('contextmenu', this._removeMarker, this);

// enable dragging and removal for the marker
if(this.options.snappable) {
if(this.options.draggable) {
this._layer.dragging.enable();
}

Expand Down

0 comments on commit f9e1f67

Please sign in to comment.