]> git.openstreetmap.org Git - rails.git/commit
Open all embed attribution links in a new tab
authorAhmed Jesser Lahmer <ahmedjasser.lahmer@insat.ucar.tn>
Mon, 30 Nov 2026 08:26:27 +0000 (09:26 +0100)
committerAhmed Jesser Lahmer <ahmedjasser.lahmer@insat.ucar.tn>
Mon, 30 Nov 2026 08:26:27 +0000 (09:26 +0100)
commit883c51fb7cd334fc0fc2884295a21a5045935392
tree1fb1830f59aa6324f8d6aeee02faa8214806dce2
parentdc3da38fd7330d15b91515e96510464d4ca600bb
Open all embed attribution links in a new tab

The contributors and donation links in the embedded map's attribution were missing target="_blank", so when the map was embedded in an iframe they navigated the iframe itself instead of opening a new tab.
app/assets/javascripts/maplibre/attribution.js
test/system/embed_test.rb