diff options
Diffstat (limited to 'src/control')
| -rw-r--r-- | src/control/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/search.js b/src/control/search.js index 64e97f7..8f3fa87 100644 --- a/src/control/search.js +++ b/src/control/search.js @@ -58,7 +58,7 @@ function onPrevPage() { } function onNextPage() { - if (curPage < Math.floor(resultCards.length / 10) - 1) { + if (curPage < Math.floor((resultCards.length - 1) / 10)) { curPage += 1; showCards(); } |
