X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..31f4ab5c466bcbafb940db5668627f9922beaaba:/app/assets/javascripts/index/export.js?ds=inline 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;