mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Make sure a name is either primary or alternate (can't be both)
This commit is contained in:
@@ -298,6 +298,7 @@ function gatherNames(tags) {
|
||||
foundSemi = true;
|
||||
} else {
|
||||
primary.add(osmvalue);
|
||||
alternate.delete(osmvalue);
|
||||
}
|
||||
} else if (!primary.has(osmvalue) && isNamelike(osmkey, 'alternate')) {
|
||||
if (/;/.test(osmvalue)) {
|
||||
|
||||
Reference in New Issue
Block a user