[openstreetmap/openstreetmap-website] Fix setting "From" in directions form based on search query (PR #4877)

Anton Khorev notifications at github.com
Tue Jun 4 12:55:32 UTC 2024


When you type a search query and click directions button, the *From* field is supposed to be filled based on your query.

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/20032d17-2099-4cfc-a379-dda500c59c88)
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/554beaf1-c4f7-4ad6-a188-5ee956115f3a)

This has been broken since at least https://github.com/openstreetmap/openstreetmap-website/commit/f7b8b114a63f58015a8f0645cda6e0578cbe9f42 when the button css classes changed.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4877

-- Commit Summary --

  * Fix setting "From" in directions form based on search query

-- File Changes --

    M app/assets/javascripts/index/search.js (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4877.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4877.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4877
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4877 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240604/74650ca1/attachment.htm>


More information about the rails-dev mailing list