diff --git a/web/src/elements/Tabs.ts b/web/src/elements/Tabs.ts index a7895b455..bacec9690 100644 --- a/web/src/elements/Tabs.ts +++ b/web/src/elements/Tabs.ts @@ -54,7 +54,7 @@ export class Tabs extends LitElement { this.currentPage = slot; const currentUrl = window.location.hash.slice(1, Infinity).split(ROUTE_SEPARATOR)[0]; const newUrl = `#${currentUrl};${slot}`; - window.location.hash = newUrl; + history.replaceState(undefined, "", newUrl); } renderTab(page: Element): TemplateResult {