Fix overeager lookup. Fixes #907

This commit is contained in:
Tom MacWright
2013-03-08 15:16:42 -05:00
parent c9b93bbd42
commit 19aba114e7
+1 -1
View File
@@ -66,7 +66,7 @@ iD.Background = function() {
tile().forEach(function(d) {
addSource(d);
requests.push(d);
if (!cache[d[3]] && lookUp(d)) {
if (cache[d[3]] === false && lookUp(d)) {
requests.push(addSource(lookUp(d)));
}
});