loleaflet/src/layer/tile/TileLayer.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d2dc650613255c5189828bc20c5622780a9606fc
Author:     Michael Meeks <michael.me...@collabora.com>
AuthorDate: Wed Dec 18 22:05:09 2019 +0000
Commit:     Michael Meeks <michael.me...@collabora.com>
CommitDate: Wed Dec 18 22:09:00 2019 +0000

    Annotations: fix duplicate image path in new annotation dialog.
    
    Change-Id: I1948bbf292c23f2411d94ae8f587072ecfaf6045

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index 0da191937..e189795e3 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -411,7 +411,7 @@ L.TileLayer = L.GridLayer.extend({
                var tdImg = L.DomUtil.create(tagTd, 'loleaflet-annotation-img', 
tr);
                var tdAuthor = L.DomUtil.create(tagTd, 
'loleaflet-annotation-author', tr);
                var imgAuthor = L.DomUtil.create('img', 'avatar-img', tdImg);
-               imgAuthor.setAttribute('src', L.Icon.Default.imagePath + 
'/user.png');
+               imgAuthor.setAttribute('src', 'images/user.png');
                imgAuthor.setAttribute('width', 32);
                imgAuthor.setAttribute('height', 32);
                this._authorAvatarImg = imgAuthor;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to