Remove console.log statement
This commit is contained in:
parent
fc870c0dc9
commit
2641b781f9
|
@ -24,8 +24,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function getPagesAroundCurrent(current, max) {
|
function getPagesAroundCurrent(current, max) {
|
||||||
console.log(current)
|
giat const start = Math.max(current - 2, 1)
|
||||||
const start = Math.max(current - 2, 1)
|
|
||||||
const end = Math.min(current + 2, max - 2)
|
const end = Math.min(current + 2, max - 2)
|
||||||
let pages = []
|
let pages = []
|
||||||
for (let i = start; i <= end; i++) {
|
for (let i = start; i <= end; i++) {
|
||||||
|
|
Loading…
Reference in New Issue