[openstreetmap/openstreetmap-website] Logo Refresh (PR #6652)
Adithyaa Saravanam
notifications at github.com
Thu Dec 25 03:58:22 UTC 2025
@adithyaa-s commented on this pull request.
> @@ -1,6 +1,6 @@
<header class="d-flex bg-body flex-column flex-md-row text-nowrap closed z-3">
<h1 class="d-flex m-0 align-items-center fw-semibold">
- <a href="<%= root_path %>" class="icon-link gap-1 me-auto text-body-emphasis text-decoration-none geolink">
+ <a href="<%= root_path %>" class="icon-link gap-1 me-auto text-body-emphasis text-decoration-none geolink" onclick="if(window.location.pathname === '/') { location.reload(); return false; } return true;">
I see. Would you suggest implementing it in js via an event handler ? Would appreciate your insight. Thank You !
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6652#discussion_r2646507022
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6652/review/3611809691 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251224/68af0f7e/attachment.htm>
More information about the rails-dev
mailing list