]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/history.js
Render changesets at locations closest to map view center
[rails.git] / app / assets / javascripts / index / history.js
index 3d572b6c72989ccdf908c4244b1f6b128a3a51d9..05877784035fba11cb621125ebca2e13f4a6a88b 100644 (file)
@@ -236,6 +236,8 @@ OSM.History = function (map) {
     if (location.pathname === "/history") {
       OSM.router.replace("/history" + window.location.hash);
       loadFirstChangesets();
+    } else {
+      changesetsLayer.updateChangesetsPositions(map);
     }
   }