]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/history.js
Ignore hashchange-triggered popstate events here too
[rails.git] / app / assets / javascripts / index / history.js
index ed4e2b41734bce73248e74dbe6bf255ba54af0b7..be62d37344d692b9797c749c6e55062e4fc69b36 100644 (file)
@@ -99,8 +99,6 @@ OSM.History = function(map) {
 
   page.pushstate = page.popstate = function(path) {
     $("#history_tab").addClass("current");
 
   page.pushstate = page.popstate = function(path) {
     $("#history_tab").addClass("current");
-    $("#sidebar").removeClass("minimized");
-    map.invalidateSize();
     $("#sidebar_content").load(path, page.load);
   };
 
     $("#sidebar_content").load(path, page.load);
   };