#69 : Code cleanup

This commit is contained in:
Vadim
2021-09-17 11:09:00 +03:00
parent 2b2eca4cdd
commit f6e91fd589
3 changed files with 6 additions and 3 deletions

View File

@@ -367,7 +367,8 @@
)
}
async function showPrevPage(options) {
// TODO: return if disabled
if (disabled) return
await changePage(
() => store.prev({
infinite,
@@ -382,7 +383,8 @@
)
}
async function showNextPage(options) {
// TODO: return if disabled
if (disabled) return
await changePage(
() => store.next({
infinite,