mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
Remove broken wiki thumbnails (fixes #1136)
This commit is contained in:
@@ -144,9 +144,6 @@ iD.ui.preset = function(context, entity, preset) {
|
||||
});
|
||||
|
||||
selection.selectAll('.tag-help')
|
||||
.style('display', function(field) {
|
||||
return field.showingReference ? 'block' : 'block';
|
||||
})
|
||||
.each(function(field) {
|
||||
if (field.showingReference) {
|
||||
d3.select(this)
|
||||
|
||||
@@ -47,7 +47,8 @@ iD.ui.TagReference = function(entity, tag) {
|
||||
referenceBody
|
||||
.append('img')
|
||||
.attr('class', 'wiki-image')
|
||||
.attr('src', docs.image.thumb_url_prefix + "100" + docs.image.thumb_url_suffix);
|
||||
.attr('src', docs.image.thumb_url_prefix + "100" + docs.image.thumb_url_suffix)
|
||||
.on('error', function() { d3.select(this).remove(); });
|
||||
}
|
||||
|
||||
referenceBody
|
||||
|
||||
Reference in New Issue
Block a user