mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
lint fix
This commit is contained in:
+2
-2
@@ -388,11 +388,11 @@ function generateTaginfo(presets, fields) {
|
||||
return;
|
||||
}
|
||||
|
||||
var isNewDescription = currentTaginfoEntries[0].description.split(' ,')
|
||||
var isNewDescription = currentTaginfoEntries[0].description.split(', ')
|
||||
.indexOf(tag.description) === -1;
|
||||
|
||||
if (isNewDescription) {
|
||||
currentTaginfoEntries[0].description += ", " + tag.description;
|
||||
currentTaginfoEntries[0].description += ', ' + tag.description;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user