From e1cde03a952df7cd48f3a5c251119f3669897540 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 14 Mar 2016 20:55:53 -0400 Subject: [PATCH] Only set coalesceChanges flag when a real tag change has happened (closes #3035) --- js/id/ui/entity_editor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/id/ui/entity_editor.js b/js/id/ui/entity_editor.js index 33c3b1bbc..77957cd9b 100644 --- a/js/id/ui/entity_editor.js +++ b/js/id/ui/entity_editor.js @@ -191,10 +191,9 @@ iD.ui.EntityEditor = function(context) { context.overwrite(iD.actions.ChangeTags(id, tags), annotation); } else { context.perform(iD.actions.ChangeTags(id, tags), annotation); + coalesceChanges = !!onInput; } } - - coalesceChanges = !!onInput; } entityEditor.modified = function(_) {