[Libreoffice-commits] online.git: loleaflet/src
Pranav Kant
pranavk at collabora.co.uk
Thu Jul 6 07:48:01 UTC 2017
loleaflet/src/map/Map.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a20afc1ceb398df934df4736771ffc2e91cd27a9
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Thu Jul 6 13:10:35 2017 +0530
Lets not turn off the auto-edit mode on click
Change-Id: I2ad781a213fbca5ac0faabd1831ca2dd0723737d
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 9df2940e..acf67317 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -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;
}
More information about the Libreoffice-commits
mailing list