[openstreetmap/openstreetmap-website] Register startinglocation listener as a named function (PR #5737)
Anton Khorev
notifications at github.com
Sat Mar 1 08:27:33 UTC 2025
The listener is not going to be run once if it's constructed inside the `locateactivate` listener. It's going to be run however many times `locateactivate` happens.
Actually neither this custom event nor `locateactivate` is required, but that's for the next pull request.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5737
-- Commit Summary --
* Register startinglocation listener as a named function
-- File Changes --
M app/assets/javascripts/index/directions.js (10)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5737.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5737.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5737
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5737 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250301/e177a9ac/attachment.htm>
More information about the rails-dev
mailing list