Fixed scrolling
This commit is contained in:
parent
1cd8746ae5
commit
44901d2411
@ -13,7 +13,9 @@ export function loadMore(arn: AnimeNotifier, button: HTMLButtonElement) {
|
||||
let target = arn.app.find("load-more-target")
|
||||
let index = button.dataset.index
|
||||
|
||||
fetch("/_" + arn.app.currentPath + "/from/" + index)
|
||||
fetch("/_" + arn.app.currentPath + "/from/" + index, {
|
||||
credentials: "same-origin"
|
||||
})
|
||||
.then(response => {
|
||||
let newIndex = response.headers.get("X-LoadMore-Index")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user