X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b4a2b23025aba0e635f024687a4ff20a8f13cb85..aa39179777f3b83734ee34cacd915e1e9a0139b0:/app/assets/javascripts/index/export.js diff --git a/app/assets/javascripts/index/export.js b/app/assets/javascripts/index/export.js index 3210bf1d1..48e950b21 100644 --- a/app/assets/javascripts/index/export.js +++ b/app/assets/javascripts/index/export.js @@ -43,7 +43,7 @@ OSM.Export = function(map) { $("#maxlat").val(bounds.getNorth().toFixed(precision)); $("#export_overpass").attr("href", - "http://overpass-api.de/api/map?bbox=" + + "https://overpass-api.de/api/map?bbox=" + $("#minlon").val() + "," + $("#minlat").val() + "," + $("#maxlon").val() + "," + $("#maxlat").val()); } @@ -69,7 +69,6 @@ OSM.Export = function(map) { $("#maxlat, #minlon, #maxlon, #minlat").change(boundsChanged); $("#drag_box").click(enableFilter); - $("#sidebar_content .close").on("click", page.minimizeSidebar); $(".export_form").on("submit", checkSubmit); update();