Yet another PR for click handling. This fixes #6264 and probably solves #6276 too, but due to the nature of that issue, I haven't been able to test that. In contrast to #6267, this approach does not make assumptions about what modifiers do.
It also doesn't make assumptions about the event type. Perhaps it should. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6281 -- Commit Summary -- * Replace links on map with new OSM.router.click() method * Make map overlay clicks respect modifier keys -- File Changes -- M app/assets/javascripts/index/history-changesets-layer.js (8) M app/assets/javascripts/index/layers/data.js (7) M app/assets/javascripts/index/layers/notes.js (2) M app/assets/javascripts/index/search.js (8) M app/assets/javascripts/router.js (11) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6281.patch https://github.com/openstreetmap/openstreetmap-website/pull/6281.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6281 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/6...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev