diff --git a/crates/izlek-web/src/layout.rs b/crates/izlek-web/src/layout.rs index 1b0ec4d..b535195 100644 --- a/crates/izlek-web/src/layout.rs +++ b/crates/izlek-web/src/layout.rs @@ -142,6 +142,11 @@ pub async fn topbar_nav(cx: &Cx, active: NavPage, role: izlek_core::Role, lang: /// arrive with the swap because the redirect URL's query params rendered /// them server-side; `history.replaceState` keeps the address bar honest. /// +/// The address bar and the `` attributes are rewritten *before* the +/// new body's scripts run, never after: a swapped-in script that reads +/// `location.href` (the log-fit reload in `logs.rs`) would otherwise read +/// the page it just replaced and hard-navigate back to it. +/// /// Swapped-in `