[openstreetmap/openstreetmap-website] Add geo URI handler registration on link interaction (PR #5968)
Anton Khorev
notifications at github.com
Tue Aug 26 16:07:08 UTC 2025
@AntonKhorev commented on this pull request.
> @@ -29,6 +29,8 @@ L.OSM.share = function (options) {
$ui.find(".share-tab [id]").on("click", select);
+ $("#geo_uri").on("mouseover click focus", askToHandleGeoURI);
`click` also has odd behavior. If `mouseover` is removed, the standard click handler wouldn't run after the *Add application* prompt appears and shifts everything down. On the other hand, getting both *Add application* and *Choose application* would also look strange:
<img width="753" height="354" alt="image" src="https://github.com/user-attachments/assets/8cf22100-9bb9-4dd4-a4d6-c7e6ebfd4ede" />
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5968#discussion_r2301478873
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5968/review/3156366088 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250826/179ddff2/attachment.htm>
More information about the rails-dev
mailing list