mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-13 22:56:12 +00:00
Use .select instead of .selectAll to propagate the bound data
(closes #5573)
This commit is contained in:
@@ -138,10 +138,10 @@ export function uiField(context, presetField, entity, options) {
|
||||
container = container
|
||||
.merge(enter);
|
||||
|
||||
container.selectAll('.form-field-label > .remove-icon')
|
||||
container.select('.form-field-label > .remove-icon') // propagate bound data
|
||||
.on('click', remove);
|
||||
|
||||
container.selectAll('.form-field-label > .modified-icon')
|
||||
container.select('.form-field-label > .modified-icon') // propagate bound data
|
||||
.on('click', revert);
|
||||
|
||||
container
|
||||
|
||||
Reference in New Issue
Block a user