mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 22:48:10 +02:00
Add tooltip to delete feature fix explaining if it's disabled (close #6588)
This commit is contained in:
@@ -255,6 +255,12 @@ export function uiEntityIssues(context) {
|
||||
fixesEnter.merge(fixes)
|
||||
.classed('actionable', function(d) {
|
||||
return d.onClick;
|
||||
})
|
||||
.attr('title', function(d) {
|
||||
if (d.disabledReason) {
|
||||
return d.disabledReason;
|
||||
}
|
||||
return null;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user