next bug fixes

This commit is contained in:
2023-07-17 07:35:41 +00:00
parent 0e1de15d7c
commit 9e6dc31811
4 changed files with 23 additions and 14 deletions

View File

@@ -21,6 +21,12 @@
}
setInterval(() => {
getNextPage($navigation.pages)
if (location.pathname.split("/").filter((s) => s).length >= 2) {
showNext = false
} else {
showNext = true
}
}, 1000)
let showNext = true
$: {
@@ -28,11 +34,11 @@
if (location.pathname != "/") {
getNextPage($navigation.pages)
}
if (location.pathname.split("/").length >= 2) {
showNext = false
} else {
showNext = true
}
}
if (location.pathname.split("/").filter((s) => s).length >= 2) {
showNext = false
} else {
showNext = true
}
}
</script>