X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/821f9498694dd744a9da1dbdd90c54da53c8b8f0..6294e9ae59d553278e733d0923e06160b3ae51c2:/app/assets/javascripts/index/history.js 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);