mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
image alt attr in tile imagery and tag wiki info
This commit is contained in:
@@ -198,6 +198,7 @@ export function rendererTileLayer(context) {
|
||||
image.enter()
|
||||
.append('img')
|
||||
.attr('class', 'tile')
|
||||
.attr('alt', '')
|
||||
.attr('draggable', 'false')
|
||||
.style('width', _tileSize + 'px')
|
||||
.style('height', _tileSize + 'px')
|
||||
|
||||
@@ -53,6 +53,7 @@ export function uiTagReference(what) {
|
||||
_body
|
||||
.append('img')
|
||||
.attr('class', 'tag-reference-wiki-image')
|
||||
.attr('alt', docs.description)
|
||||
.attr('src', docs.imageURL)
|
||||
.on('load', function() { done(); })
|
||||
.on('error', function() { d3_select(this).remove(); done(); });
|
||||
|
||||
Reference in New Issue
Block a user