mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Check to remove just area=yes after merging, not any area value
This commit is contained in:
@@ -49,7 +49,7 @@ export function actionMerge(ids) {
|
||||
graph = graph.remove(removeNode);
|
||||
});
|
||||
|
||||
if (target.tags.area) {
|
||||
if (target.tags.area === 'yes') {
|
||||
var tags = Object.assign({}, target.tags); // shallow copy
|
||||
delete tags.area;
|
||||
if (osmTagSuggestingArea(tags)) {
|
||||
|
||||
Reference in New Issue
Block a user