]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/query.js
Improve the content security policy
[rails.git] / app / assets / javascripts / index / query.js
index d3fa8ad838f8f10c7f72d8e15779323fb6853801..018aedf98a01df4c5bc3a4996611b9596edbd386 100644 (file)
@@ -12,7 +12,7 @@ OSM.Query = function(map) {
     weight: 4,
     opacity: 1,
     fillOpacity: 0.5,
-    clickable: false
+    interactive: false
   };
 
   queryButton.on("click", function (e) {
@@ -179,7 +179,7 @@ OSM.Query = function(map) {
       url: url,
       method: "POST",
       data: {
-        data: "[timeout:5][out:json];" + query,
+        data: "[timeout:10][out:json];" + query,
       },
       success: function(results) {
         var elements;