]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/export.js
Fix click on search result
[rails.git] / app / assets / javascripts / index / export.js
index 70684eca9dac0dd70b26f8ebb57c636aa023f9a0..51ad1e3e2e55456ef1358d1f45c3fd88605cf43a 100644 (file)
@@ -50,6 +50,8 @@ 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);
   };