[Libreoffice-commits] online.git: loleaflet/src
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Wed Dec 18 22:09:34 UTC 2019
loleaflet/src/layer/tile/TileLayer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d2dc650613255c5189828bc20c5622780a9606fc
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Wed Dec 18 22:05:09 2019 +0000
Commit: Michael Meeks <michael.meeks at 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;
More information about the Libreoffice-commits
mailing list