Improved search responsiveness

This commit is contained in:
2018-03-16 19:13:23 +01:00
parent 2aec328e9c
commit 20981234f6
2 changed files with 67 additions and 52 deletions

View File

@ -671,11 +671,12 @@ export class AnimeNotifier {
}
let path = "/_" + url
let request = this.app.get(path)
let request = fetch(path, {
credentials: "same-origin"
})
.then(response => response.text())
// let request = fetch(path, {
// credentials: "same-origin"
// })
// .then(response => response.text())
history.pushState(url, null, url)
this.app.currentPath = url