loleaflet/src/map/Map.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cb68187c5e560dc0f040a5869f9b844e7426be89
Author:     Pedro Pinto Silva <pedro.si...@collabora.com>
AuthorDate: Thu Jul 9 14:47:56 2020 +0200
Commit:     Mike Kaganski <mike.kagan...@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.kagan...@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');
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to