mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
refresh text-mode raw tag editor also when no tags are changed
e.g. when duplicate tag keys are entered or the text input contained empty or invalid lines that need to be cleaned up
This commit is contained in:
@@ -372,7 +372,6 @@ export function uiSectionRawTagEditor(id, context) {
|
||||
});
|
||||
|
||||
var tagDiff = utilTagDiff(_tags, newTags);
|
||||
if (!tagDiff.length) return;
|
||||
|
||||
_pendingChange = _pendingChange || {};
|
||||
|
||||
@@ -391,6 +390,7 @@ export function uiSectionRawTagEditor(id, context) {
|
||||
|
||||
if (Object.keys(_pendingChange).length === 0) {
|
||||
_pendingChange = null;
|
||||
section.reRender();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user