]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/export.js
Sidebar work
[rails.git] / app / assets / javascripts / index / export.js
index aec35ed2b19cfcfb1b5852f364e25a904b39a050..01d21cea255d52830d7e1ad091710aa67369a8e9 100644 (file)
@@ -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 () {