]> git.openstreetmap.org Git - rails.git/commitdiff
Fix jshint warning
authorTom Hughes <tom@compton.nu>
Mon, 8 Jan 2018 20:30:51 +0000 (20:30 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 8 Jan 2018 20:30:51 +0000 (20:30 +0000)
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;