diff --git a/js/id/graph/graph.js b/js/id/graph/graph.js index 055ab8df8..f2525daf5 100644 --- a/js/id/graph/graph.js +++ b/js/id/graph/graph.js @@ -243,6 +243,7 @@ iD.Graph.prototype = { keys = Object.keys(graph.entities); for (i = 0; i < keys.length; i++) { + id = keys[i]; entity = graph.entities[id]; if (entity && !this.entities.hasOwnProperty(id)) { result.push(id);