[openstreetmap/openstreetmap-website] Update place history url test to recognize paths with max_id (PR #3835)

Anton Khorev notifications at github.com
Thu Dec 8 14:42:05 UTC 2022


A small change from https://github.com/openstreetmap/openstreetmap-website/pull/3829.

Adds a function to check if the currently opened history page is a place history - those are treated specially, by updating the bbox parameters when the map view changes. The condition checked is modified to take into account possible changes from https://github.com/openstreetmap/openstreetmap-website/pull/3834.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3835

-- Commit Summary --

  * Update place history url test to recognize paths with max_id

-- File Changes --

    M app/assets/javascripts/index/history.js (10)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3835.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3835.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/3835 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221208/7392c547/attachment-0001.htm>


More information about the rails-dev mailing list