]> git.openstreetmap.org Git - rails.git/commit
Move Intl.DisplayNames inside renderWikidataResponse
authorMarwin Hochfelsner <50826859+hlfan@users.noreply.github.com>
Sat, 19 Jul 2025 10:15:50 +0000 (12:15 +0200)
committerMarwin Hochfelsner <50826859+hlfan@users.noreply.github.com>
Sat, 19 Jul 2025 10:16:08 +0000 (12:16 +0200)
commit0913b93a84f7359fcffd8f8f17d2d7ce02d47e47
tree1272c839875e5d292035f6f90376b326a27107d4
parent12f17aae49e47da55532a1f8521a592c31d2fba2
Move Intl.DisplayNames inside renderWikidataResponse

This avoids breaking page load in legacy browsers like Pale Moon by
delaying the instanciation of Intl.DisplayNames until it's needed.
app/assets/javascripts/index/element.js