X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8756feab8a902bd1111adf3b1d9514988dde9bf3..9029e47ce9e41a220710d117868e14d8cd1c719a:/app/assets/javascripts/index/history.js diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index 70366efbe..d27a06943 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -29,7 +29,7 @@ OSM.History = function(map) { }; function highlightChangeset(id) { - group.getLayer(id).setStyle({fillOpacity: 0.5}); + group.getLayer(id).setStyle({fillOpacity: 0.3}); $("#changeset_" + id).addClass("selected"); } @@ -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);