From b244d3736819c0bf2dd708f2b3e5368c5274f34c Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Tue, 8 Jan 2013 16:10:57 -0500 Subject: [PATCH] Fix bad typeof --- js/id/renderer/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/renderer/map.js b/js/id/renderer/map.js index e15b86d88..e519ff553 100644 --- a/js/id/renderer/map.js +++ b/js/id/renderer/map.js @@ -78,7 +78,7 @@ iD.Map = function() { var only = {}; difference.forEach(function buildDifference(id) { only[id] = graph.fetch(id); - if (typeof only[id].type === 'node') { + if (only[id].type === 'node') { graph.parentWays(id).forEach(function buildOnly(parent) { // Don't re-fetch parents if (only[parent.id] === undefined) {