[Libreoffice-commits] online.git: loleaflet/src
Pedro Pinto Silva (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 16 07:46:38 UTC 2020
loleaflet/src/map/Map.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cb68187c5e560dc0f040a5869f9b844e7426be89
Author: Pedro Pinto Silva <pedro.silva at collabora.com>
AuthorDate: Thu Jul 9 14:47:56 2020 +0200
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Thu Jul 16 09:46:20 2020 +0200
Don't remove html of last modification indicator but instead hide it when data is unavailable
Change-Id: If86d66a616ccc09a3eed8d083f8a81a5c0b233e2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98433
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index e74b99e0e..8d1f0302a 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -375,7 +375,7 @@ L.Map = L.Evented.extend({
&& lastModButton.firstChild.childElementCount == 0) {
if (this._lastmodtime == null) {
// No modification time -> hide the indicator
- lastModButton.innerHTML = '';
+ L.DomUtil.setStyle(lastModButton, 'display', 'none');
return;
}
var mainSpan = document.createElement('span');
More information about the Libreoffice-commits
mailing list