Skip to content

Commit

Permalink
set default _globalRemovalMode to false as promised in #247
Browse files Browse the repository at this point in the history
  • Loading branch information
codeofsumit committed Nov 12, 2017
1 parent 47336a3 commit 5e1fd7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/L.PM.Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const Map = L.Class.extend({
this.map.fire('pm:remove', e);
}
});

this._globalRemovalMode = false;
},
addControls(options) {
this.Toolbar.addControls(options);
Expand Down

0 comments on commit 5e1fd7a

Please sign in to comment.