mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 01:33:03 +00:00
Bug fix
This commit is contained in:
@@ -414,12 +414,12 @@ function generateTaginfo(presets, fields) {
|
||||
return;
|
||||
|
||||
if (!currentTaginfoEntries[0].description) {
|
||||
currentTaginfoEntries[0].description = [ tag.description ];
|
||||
currentTaginfoEntries[0].description = tag.description;
|
||||
return;
|
||||
}
|
||||
|
||||
var isNewDescription = currentTaginfoEntries[0].description
|
||||
.indexOf(tag.description) === -1;
|
||||
.indexOf(tag.description[0]) === -1;
|
||||
|
||||
if (isNewDescription) {
|
||||
currentTaginfoEntries[0].description.push(tag.description[0]);
|
||||
|
||||
Reference in New Issue
Block a user