fix: ignore tab URL hashes in navigation history

This commit is contained in:
Elias Schneider
2026-07-13 10:52:01 +02:00
parent 316cf47ceb
commit a3f27ec2ec

View File

@@ -22,7 +22,7 @@
function onTabChange(newValue: string) { function onTabChange(newValue: string) {
if (useHash && page.url.hash !== newValue) { if (useHash && page.url.hash !== newValue) {
window.location.hash = newValue; history.replaceState(history.state, "",location.pathname + location.search + `#${newValue}`);
} }
} }
</script> </script>