X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/821f9498694dd744a9da1dbdd90c54da53c8b8f0..1df32b88e886994cc992da5fb0e37867cbd80283:/app/assets/javascripts/index/history.js?ds=sidebyside diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index ed4e2b417..d27a06943 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -99,12 +99,12 @@ OSM.History = function(map) { page.pushstate = page.popstate = function(path) { $("#history_tab").addClass("current"); - $("#sidebar").removeClass("minimized"); map.invalidateSize(); $("#sidebar_content").load(path, page.load); }; page.load = function() { + $("#sidebar").removeClass("minimized"); map .on("moveend", loadData) .addLayer(group);