mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 07:46:58 +02:00
Make Q/A issue links focusable (re: #8004)
This commit is contained in:
@@ -53,6 +53,7 @@ export function uiImproveOsmDetails(context) {
|
||||
// If there are entity links in the error message..
|
||||
let relatedEntities = [];
|
||||
descriptionEnter.selectAll('.error_entity_link, .error_object_link')
|
||||
.attr('href', '#')
|
||||
.each(function() {
|
||||
const link = d3_select(this);
|
||||
const isObjectLink = link.classed('error_object_link');
|
||||
|
||||
@@ -58,6 +58,7 @@ export function uiKeepRightDetails(context) {
|
||||
// If there are entity links in the error message..
|
||||
let relatedEntities = [];
|
||||
descriptionEnter.selectAll('.error_entity_link, .error_object_link')
|
||||
.attr('href', '#')
|
||||
.each(function() {
|
||||
const link = d3_select(this);
|
||||
const isObjectLink = link.classed('error_object_link');
|
||||
|
||||
@@ -139,6 +139,7 @@ export function uiOsmoseDetails(context) {
|
||||
.enter()
|
||||
.append('li')
|
||||
.append('a')
|
||||
.attr('href', '#')
|
||||
.attr('class', 'error_entity_link')
|
||||
.html(d => d)
|
||||
.each(function() {
|
||||
|
||||
Reference in New Issue
Block a user