]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/query.js
Add an indexed home_tile column to the user table
[rails.git] / app / assets / javascripts / index / query.js
index 7ac613d71ec1737e2d80088ad5f3c0e29d177868..c01caba700cc3f41bbe2ee1387d099c3d9524dc1 100644 (file)
@@ -1,8 +1,7 @@
 //= require jquery.simulate
 
 OSM.Query = function(map) {
-  var protocol = document.location.protocol === "https:" ? "https:" : "http:",
-    url = protocol + 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;