generated from cms/tibi-docs
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
let nextpage = $navigation?.pages[0]
|
||||
$: nextpage = $navigation?.pages[0]
|
||||
function getNextPage(pages) {
|
||||
console.log(pages, "pages")
|
||||
if (location.pathname == "/" || location.pathname == "") return
|
||||
|
||||
let currPage = pages.find(
|
||||
@@ -26,6 +27,7 @@
|
||||
} else {
|
||||
blackBg = false
|
||||
}
|
||||
|
||||
getNextPage($navigation.pages)
|
||||
|
||||
if (location.pathname.split("/").filter((s) => s).length >= 2) {
|
||||
@@ -37,6 +39,7 @@
|
||||
let showNext = true
|
||||
$: {
|
||||
if ($rerender) {
|
||||
|
||||
if (location.pathname != "/") {
|
||||
getNextPage($navigation.pages)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user