[openstreetmap/openstreetmap-website] Changeset history view drafts and plans (PR #5808)

Marwin Hochfelsner notifications at github.com
Tue May 20 16:11:39 UTC 2025


@hlfan commented on this pull request.



> @@ -130,11 +134,23 @@ OSM.History = function (map) {
       nextNewList.children().appendTo(oldList);
       nextNewList.remove();
     }
+
+    if (location.pathname === "/history") {
+      setPaginationMapHashes();
+    }
+  }
+
+  function setPaginationMapHashes() {
+    $("#sidebar .pagination a").each(function () {
+      $(this).prop("hash", OSM.formatHash({

```suggestion
      $(this).prop("hash", OSM.formatHash(map));
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5808#pullrequestreview-2854824070
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5808/review/2854824070 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250520/4a0a9eee/attachment.htm>


More information about the rails-dev mailing list