]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/export.js
Ignore hashchange-triggered popstate events here too
[rails.git] / app / assets / javascripts / index / export.js
index 199f226f5e18b1e5713c610f870ad7e0798f73ed..413caea3f737aa666c37687d2583c36f78205598 100644 (file)
@@ -51,13 +51,10 @@ OSM.Export = function(map) {
 
   page.pushstate = page.popstate = function(path) {
     $("#export_tab").addClass("current");
-    $("#sidebar").removeClass("minimized");
-    map.invalidateSize();
     $("#sidebar_content").load(path, page.load);
   };
 
   page.load = function() {
-    $("#sidebar").removeClass("minimized");
     map
       .addLayer(locationFilter)
       .on("moveend", update);