Lets not turn off the auto-edit mode on click

Change-Id: I2ad781a213fbca5ac0faabd1831ca2dd0723737d
This commit is contained in:
Pranav Kant 2017-07-06 13:10:35 +05:30
parent 3a43f69116
commit a20afc1ceb

View file

@ -1028,7 +1028,7 @@ L.Map = L.Evented.extend({
// we need to keep track about the last action, this
// will help us to avoid wrongly removing the editor
if (type === 'click' || type === 'keypress') {
if (type === 'keypress') {
this.lastActionByUser = true;
}