[openstreetmap/openstreetmap-website] Focus first endpoint when routing is activated (PR #6042)
Tom Hughes
notifications at github.com
Thu May 22 19:27:59 UTC 2025
When routing is activated we are presumably about to look for a route, and anything already in the search box will have been transferred to the route end field, so focus on the route start field ready to accept input.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6042
-- Commit Summary --
* Focus first endpoint when routing is activated
-- File Changes --
M app/assets/javascripts/index/directions-endpoint.js (4)
M app/assets/javascripts/index/directions.js (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6042.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6042.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6042
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6042 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250522/ea72f0e7/attachment.htm>
More information about the rails-dev
mailing list