[openstreetmap/openstreetmap-website] Make loadSidebarContent use promises (PR #7226)
Marwin Hochfelsner
notifications at github.com
Tue Jul 14 19:05:48 UTC 2026
@hlfan commented on this pull request.
> const title = response.headers.get("X-Page-Title");
if (title) document.title = decodeURIComponent(title);
Well, while the body is being downloaded, we don't want the title to already show the new content, cause that would then be a mismatch between what's in the sidebar (old) and what's in the title (new), right?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7226#discussion_r3581881100
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7226/review/4697663056 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260714/2837e2f8/attachment.htm>
More information about the rails-dev
mailing list