]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/query.js
Avoid using inline javascript to update message list
[rails.git] / app / assets / javascripts / index / query.js
index c01caba700cc3f41bbe2ee1387d099c3d9524dc1..3da84c7d90e46b214575cf44212070bcbe4217c2 100644 (file)
@@ -287,7 +287,7 @@ OSM.Query = function(map) {
       nodes = "node(" + around + ")",
       ways = "way(" + around + ")",
       relations = "relation(" + around + ")",
-      nearby = "(" + nodes + ";" + ways + ");out tags geom(" + bbox + ");" + relations + ";out geom(" + bbox + ");",
+      nearby = "(" + nodes + ";" + ways + ";);out tags geom(" + bbox + ");" + relations + ";out geom(" + bbox + ");",
       isin = "is_in(" + lat + "," + lng + ")->.a;way(pivot.a);out tags bb;out ids geom(" + bbox + ");relation(pivot.a);out tags bb;";
 
     $("#sidebar_content .query-intro")