[openstreetmap/openstreetmap-website] Add reload on iframe redirect (PR #5823)
Anton Khorev
notifications at github.com
Wed Apr 9 15:43:13 UTC 2025
@AntonKhorev commented on this pull request.
> @@ -36,4 +36,10 @@ $(function () {
if (idData.gpx) params.set("gpx", idData.gpx);
id.attr("src", idData.url + "#" + params);
+
+ id.ready(function () {
+ if (!this.contentWindow.location.href.startsWith(idData.url)) {
I'm not sure if this fix ever worked. I've seen double header from #5807 with this PR merged.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5823#discussion_r2035651300
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5823/review/2753946558 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250409/9786d9e4/attachment-0001.htm>
More information about the rails-dev
mailing list