Search no longers add to history

This commit is contained in:
Eduard Urbach 2018-03-29 10:42:13 +02:00
parent dee5bb1fe0
commit 9bd99b7bd9

View File

@ -52,7 +52,7 @@ export async function search(arn: AnimeNotifier, search: HTMLInputElement, e: Ke
// Set browser URL // Set browser URL
let url = "/search/" + term let url = "/search/" + term
document.title = "Search: " + term document.title = "Search: " + term
history.pushState(url, document.title, url) history.replaceState(url, document.title, url)
arn.app.currentPath = url arn.app.currentPath = url
// Unmount mountables to improve visual responsiveness on key press // Unmount mountables to improve visual responsiveness on key press