Lets not turn off the auto-edit mode on click
Change-Id: I2ad781a213fbca5ac0faabd1831ca2dd0723737d
This commit is contained in:
parent
3a43f69116
commit
a20afc1ceb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue