function displayFirstChangesets(html) {
$("#sidebar_content .changesets").html(html);
+
+ if (location.pathname === "/history") {
+ setPaginationMapHashes();
+ }
}
function displayMoreChangesets(div, html) {
nextNewList.children().appendTo(oldList);
nextNewList.remove();
}
+
+ if (location.pathname === "/history") {
+ setPaginationMapHashes();
+ }
+ }
+
+ function setPaginationMapHashes() {
+ $("#sidebar .pagination a").each(function () {
+ $(this).prop("hash", OSM.formatHash({
+ center: map.getCenter(),
+ zoom: map.getZoom()
+ }));
+ });
}
function loadFirstChangesets() {