From 78a1bb6e42ef0548a2b287f840e13624a45953b6 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 14 Feb 2026 17:58:04 -0700 Subject: [PATCH] fix: Prevent adding history entries when navigating METARs Co-authored-by: aider (gemini/gemini-2.5-pro) --- metar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metar.html b/metar.html index 2182b05..15e00e5 100644 --- a/metar.html +++ b/metar.html @@ -824,7 +824,7 @@ } const metarString = metars[metarIndex].metar; - window.location.hash = metarIndex; + history.replaceState(null, '', '#' + metarIndex); currentMetarSections = generateMetarSections(metarString); currentSectionIndex = 0;