aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/public/js/taginfo.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js
index 22cb324..d3f9225 100644
--- a/web/public/js/taginfo.js
+++ b/web/public/js/taginfo.js
@@ -566,11 +566,11 @@ function level0_editor(overpass_url_prefix, level0_url_prefix, filter, key, valu
if (filter == 'nodes') {
query = 'node' + query;
} else if (filter == 'ways') {
- query = 'way' + query;
+ query = 'way' + query + '>;';
} else if (filter == 'relations') {
query = 'rel' + query;
} else {
- query = '(node' + query + 'way' + query + 'rel' + query + ');';
+ query = '(node' + query + 'way' + query + '>;rel' + query + ');';
}
var overpass_url = overpass_url_prefix + 'data=' + encodeURIComponent('[out:xml];' + query + 'out meta;');