generated from cms/tibi-docs
next bug fixes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user