]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/query.js
Fully internationalise the issues and reports interfaces.
[rails.git] / app / assets / javascripts / index / query.js
index 3a23993a6b6a970fc2f14cd1e347c9c77624fdfa..c01caba700cc3f41bbe2ee1387d099c3d9524dc1 100644 (file)
@@ -1,8 +1,7 @@
 //= require jquery.simulate
 
 OSM.Query = function(map) {
-  var protocol = document.location.protocol === "https:" ? "https:" : "http:",
-    url = OSM.OVERPASS_URL,
+  var url = OSM.OVERPASS_URL,
     queryButton = $(".control-query .control-button"),
     uninterestingTags = ['source', 'source_ref', 'source:ref', 'history', 'attribution', 'created_by', 'tiger:county', 'tiger:tlid', 'tiger:upload_uuid', 'KSJ2:curve_id', 'KSJ2:lat', 'KSJ2:lon', 'KSJ2:coordinate', 'KSJ2:filename', 'note:ja'],
     marker;