[openstreetmap/openstreetmap-website] Split space-separated event handlers into individual `.on()` calls (PR #7204)

Frank Elsinga notifications at github.com
Thu Jul 2 14:21:46 UTC 2026


### Description

Small .on that I overlooked in https://github.com/openstreetmap/openstreetmap-website/pull/7189

### How has this been tested?

<img width="1920" height="1080" alt="Recording 2026-07-02 at 16 19 45" src="https://github.com/user-attachments/assets/8ed06a81-3d3f-4d77-9371-d20221d37c8b" />

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Split space-separated event handlers into individual .on() calls

-- File Changes --

    M app/assets/javascripts/index_modules/directions/endpoint.js (6)
    M app/assets/javascripts/index_modules/new_note.js (7)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list