mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
Fix potential JavaScript error
This commit is contained in:
@@ -7,6 +7,7 @@ export function actionUpgradeTags(entityId, oldTags, replaceTags) {
|
||||
var semiIndex;
|
||||
|
||||
for (var oldTagKey in oldTags) {
|
||||
if (!(oldTagKey in tags)) continue;
|
||||
// wildcard match
|
||||
if (oldTags[oldTagKey] === '*') {
|
||||
// note the value since we might need to transfer it
|
||||
|
||||
Reference in New Issue
Block a user