X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b4a2b23025aba0e635f024687a4ff20a8f13cb85..f1e9dcc66af1945cc0b8847b4ccecde9f54520ba:/app/assets/javascripts/index/export.js?ds=sidebyside 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();