X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/48f68bbc97337ee84d995a1ce1aa0a51296a4cbb..c62b8b29d4f6a6c7f2b12539a690d0faa8a34b29:/vendor/assets/iD/iD.js diff --git a/vendor/assets/iD/iD.js b/vendor/assets/iD/iD.js index b2d625139..0c6f719a4 100644 --- a/vendor/assets/iD/iD.js +++ b/vendor/assets/iD/iD.js @@ -22289,7 +22289,7 @@ // package.json var package_default = { name: "iD", - version: "2.28.0", + version: "2.28.1", description: "A friendly editor for OpenStreetMap", main: "dist/iD.min.js", repository: "github:openstreetmap/iD", @@ -30102,8 +30102,6 @@ if (_this.tags[k2] || !tags[k2]) { tags[k2] = "yes"; } - } else if (addTags[k2] === "") { - delete tags[k2]; } else { tags[k2] = addTags[k2]; } @@ -78303,13 +78301,13 @@ Object.values(vals[0].presets).forEach((preset) => preset.suggestion = true); Object.values(vals[0].presets).forEach((preset) => { if (preset.tags["brand:wikidata"]) { - preset.addTags["brand:wikipedia"] = ""; + preset.removeTags = { "brand:wikipedia": "*", ...preset.removeTags || preset.addTags || preset.tags }; } if (preset.tags["operator:wikidata"]) { - preset.addTags["operator:wikipedia"] = ""; + preset.removeTags = { "operator:wikipedia": "*", ...preset.removeTags || preset.addTags || preset.tags }; } if (preset.tags["network:wikidata"]) { - preset.addTags["network:wikipedia"] = ""; + preset.removeTags = { "network:wikipedia": "*", ...preset.removeTags || preset.addTags || preset.tags }; } }); _mainPresetIndex.merge({