]> git.openstreetmap.org Git - rails.git/commit
make sure iD's iframe is focused on startup
authorMartin Raifer <martin@raifer.tech>
Tue, 3 Jun 2025 11:19:01 +0000 (13:19 +0200)
committerMartin Raifer <martin@raifer.tech>
Thu, 5 Jun 2025 08:52:46 +0000 (10:52 +0200)
commitac07dbfd69b5831d9f5ad2502ac1086aa1d3c6d2
tree5aca5febf784697d07537b8be7c29fe59c96693b
parent8bc92240dc78564196d071ca659a7bf1e116c8ac
make sure iD's iframe is focused on startup

to allow it to accept keyboard shortcuts directly after loading

fixes https://github.com/openstreetmap/iD/issues/9828

also fix the annoying false-positive exception on iD startup, see https://github.com/openstreetmap/openstreetmap-website/pull/5823#discussion_r2035464188
app/assets/javascripts/edit/id.js.erb
app/views/site/_id.html.erb