X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5bd59e19368d8761a7dbaa5db0e8833174c11f36..c1d4f3cc7f051815cfd4ea372597a94f1621abfa:/app/assets/javascripts/index/export.js diff --git a/app/assets/javascripts/index/export.js b/app/assets/javascripts/index/export.js index 67530370d..a953920f8 100644 --- a/app/assets/javascripts/index/export.js +++ b/app/assets/javascripts/index/export.js @@ -43,9 +43,9 @@ OSM.Export = function (map) { $("#maxlat").val(bounds.getNorth().toFixed(precision)); $("#export_overpass").attr("href", - "https://overpass-api.de/api/map?bbox=" + - $("#minlon").val() + "," + $("#minlat").val() + "," + - $("#maxlon").val() + "," + $("#maxlat").val()); + "https://overpass-api.de/api/map?bbox=" + + $("#minlon").val() + "," + $("#minlat").val() + "," + + $("#maxlon").val() + "," + $("#maxlat").val()); } function validateControls() { @@ -58,7 +58,6 @@ OSM.Export = function (map) { } page.pushstate = page.popstate = function (path) { - $("#export_tab").addClass("current"); OSM.loadSidebarContent(path, page.load); }; @@ -79,8 +78,6 @@ OSM.Export = function (map) { map .removeLayer(locationFilter) .off("moveend", update); - - $("#export_tab").removeClass("current"); }; return page;