[Libreoffice-commits] online.git: loleaflet/src
Henry Castro
hcastro at collabora.com
Thu Sep 14 21:33:26 UTC 2017
loleaflet/src/map/Map.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 105eeddae1f058572cf3b6d13edb5ec7ee61473f
Author: Henry Castro <hcastro at collabora.com>
Date: Thu Sep 14 17:36:45 2017 -0400
loleaflet: ignore events before the document is loaded
Change-Id: Icd28854f4430786e1383a7fe6a694f3c7ce9a188
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index df1a3607..25eeae39 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -1032,7 +1032,7 @@ L.Map = L.Evented.extend({
},
_handleDOMEvent: function (e) {
- if (!this._loaded || !this._enabled || L.DomEvent._skipped(e)) { return; }
+ if (!this._docLayer || !this._loaded || !this._enabled || L.DomEvent._skipped(e)) { return; }
this.lastActiveTime = Date.now();
More information about the Libreoffice-commits
mailing list