diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2019-12-18 22:05:09 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-12-18 22:09:00 +0000 |
commit | d2dc650613255c5189828bc20c5622780a9606fc (patch) | |
tree | 347a8a280ff86697f32daa15f82538abc1d5da34 | |
parent | 9680084f6bbbd929d9f259ed00ce6fedeccf160d (diff) |
Annotations: fix duplicate image path in new annotation dialog.
Change-Id: I1948bbf292c23f2411d94ae8f587072ecfaf6045
-rw-r--r-- | loleaflet/src/layer/tile/TileLayer.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |