fix: Prevent adding history entries when navigating METARs
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
+1
-1
@@ -824,7 +824,7 @@
|
||||
}
|
||||
|
||||
const metarString = metars[metarIndex].metar;
|
||||
window.location.hash = metarIndex;
|
||||
history.replaceState(null, '', '#' + metarIndex);
|
||||
|
||||
currentMetarSections = generateMetarSections(metarString);
|
||||
currentSectionIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user