mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Fix crash when deleting rows in raw tag editor
(closes #5840) This didn't always trigger a crash, but it can. It attempted to remove the row containing the key/value input fields, however this ilne is unnecessary because the change event will trigger a redraw and d3 will handle the removing milliseconds later.
This commit is contained in:
@@ -347,7 +347,6 @@ export function uiRawTagEditor(context) {
|
||||
var t = {};
|
||||
t[d.key] = undefined;
|
||||
dispatch.call('change', this, t);
|
||||
d3_select(this.parentNode).remove();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user