diff --git a/layout/common/paginator.ejs b/layout/common/paginator.ejs index 9940d18..1cf49f8 100644 --- a/layout/common/paginator.ejs +++ b/layout/common/paginator.ejs @@ -13,7 +13,7 @@ function pagination(c, m) { l; for (let i = 1; i <= last; i++) { - if (i == 1 || i == last || i >= left && i < right) { + if (i == 1 || i == last || (i >= left && i < right)) { range.push(i); } }