[openstreetmap/openstreetmap-website] Logo Refresh (PR #6652)
Holger Jeromin
notifications at github.com
Wed Dec 24 12:36:57 UTC 2025
@HolgerJeromin 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;">
Pretty sure this will/should not work in production because of `unsafe-inline`
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6652#pullrequestreview-3610897231
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6652/review/3610897231 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251224/be5afc9b/attachment.htm>
More information about the rails-dev
mailing list