From: Tom Hughes Date: Mon, 8 Jan 2018 20:30:51 +0000 (+0000) Subject: Fix jshint warning X-Git-Tag: live~3895 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/256460a2d909746d7f04d0aba93776d77a7a77cf?ds=inline;hp=--cc Fix jshint warning --- 256460a2d909746d7f04d0aba93776d77a7a77cf diff --git a/app/assets/javascripts/index/query.js b/app/assets/javascripts/index/query.js index 3a23993a6..c01caba70 100644 --- a/app/assets/javascripts/index/query.js +++ b/app/assets/javascripts/index/query.js @@ -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;