From 9bd99b7bd9916b6c6693eee080091e03b34cc0b2 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 29 Mar 2018 10:42:13 +0200 Subject: [PATCH] Search no longers add to history --- scripts/Actions/Search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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