diff --git a/scripts/Actions/Search.ts b/scripts/Actions/Search.ts index fc1bda6d..84f31b2b 100644 --- a/scripts/Actions/Search.ts +++ b/scripts/Actions/Search.ts @@ -52,7 +52,7 @@ export async function search(arn: AnimeNotifier, search: HTMLInputElement, e: Ke // Set browser URL let url = "/search/" + term document.title = "Search: " + term - history.pushState(url, document.title, url) + history.replaceState(url, document.title, url) arn.app.currentPath = url // Unmount mountables to improve visual responsiveness on key press