1
0
Fork 0
mirror of synced 2024-07-02 04:50:44 +12:00

Remove random text

This commit is contained in:
Andrew Kingston 2020-10-13 09:51:43 +01:00
parent 2641b781f9
commit d96293638f

View file

@ -24,7 +24,7 @@
}
function getPagesAroundCurrent(current, max) {
giat const start = Math.max(current - 2, 1)
const start = Math.max(current - 2, 1)
const end = Math.min(current + 2, max - 2)
let pages = []
for (let i = start; i <= end; i++) {