[openstreetmap/openstreetmap-website] Move Intl.DisplayNames inside renderWikidataResponse (PR #6208)
Marwin Hochfelsner
notifications at github.com
Sat Jul 19 10:30:03 UTC 2025
### Description
This avoids breaking page load in legacy browsers like Pale Moon by delaying the instanciation of Intl.DisplayNames until it's needed.
Closes #6207.
### How has this been tested?
Sandboxed Pale Moon with a locally served site.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6208
-- Commit Summary --
* Move Intl.DisplayNames inside renderWikidataResponse
-- File Changes --
M app/assets/javascripts/index/element.js (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6208.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6208.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6208
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6208 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250719/981173a7/attachment.htm>
More information about the rails-dev
mailing list