mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-29 15:16:07 +02:00
Use .select instead of .selectAll to propagate the bound data
(closes #5573)
This commit is contained in:
+2
-2
@@ -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