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;