[openstreetmap/openstreetmap-website] Layer previews not displaying correctly in Safari (Issue #6232)
Dan Karran
notifications at github.com
Mon Jul 28 11:01:35 UTC 2025
dankarran left a comment (openstreetmap/openstreetmap-website#6232)
I've had a quick skim through recent changes in the code and I think this could be the issue:
https://github.com/openstreetmap/openstreetmap-website/blob/938212c429a159a1ceeec13b91c4ae966ef6663e/app/assets/javascripts/leaflet.key.js#L19
... should perhaps be `.on` instead of `.one`? Without that event firing, it looks like the following may not run:
https://github.com/openstreetmap/openstreetmap-website/blob/1b9e45fd7aaedc5e6519c54e1b89c5c7c8b253e0/app/assets/javascripts/leaflet.layers.js#L7-L10
Of course I could be completely wrong!
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6232#issuecomment-3126695216
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6232/3126695216 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250728/c843e55d/attachment.htm>
More information about the rails-dev
mailing list