]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/query.js
Revert accidental schema changes
[rails.git] / app / assets / javascripts / index / query.js
index 8583c805a1c52bffb10b127a59e9a1739964b860..8a190a90ab3f7c1356d3c5c3c642fae0f3086fc9 100644 (file)
@@ -153,7 +153,7 @@ OSM.Query = function (map) {
       }), featureStyle);
     } else if (feature.type === "relation" && feature.members) {
       geometry = L.featureGroup(feature.members.map(featureGeometry).filter(function (geometry) {
       }), featureStyle);
     } else if (feature.type === "relation" && feature.members) {
       geometry = L.featureGroup(feature.members.map(featureGeometry).filter(function (geometry) {
-        return geometry !== undefined;
+        return typeof geometry !== "undefined";
       }));
     }
 
       }));
     }