X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/feeb135760abdbfef0eea193318566d9d96f2523..53e4d600e712dea988028a12f68927c3400a6901:/app/assets/javascripts/index/export.js diff --git a/app/assets/javascripts/index/export.js b/app/assets/javascripts/index/export.js index aec35ed2b..01d21cea2 100644 --- a/app/assets/javascripts/index/export.js +++ b/app/assets/javascripts/index/export.js @@ -9,18 +9,16 @@ function initializeExport(map) { adjustButton: false }).addTo(map); + update(); + locationFilter.on("change", update); map.on("moveend", update); - $("#sidebar_title").html(I18n.t('export.start_rjs.export')); - $("#maxlat,#minlon,#maxlon,#minlat").change(boundsChanged); $("#drag_box").click(enableFilter); - openSidebar(); - setBounds(map.getBounds()); $("#sidebar").one("closed", function () {