Browse Source

Update page.ejs

pull/6/head
Tian Yunhao 7 years ago committed by GitHub
parent
commit
688c93beb9
  1. 2
      views/page.ejs

2
views/page.ejs

@ -33,7 +33,7 @@
<a class="active item" href="<%= syzoj.utils.makeUrl(req, Object.assign(req.query, { page: paginate.currPage })) %>"><%= paginate.currPage %></a>
<% for (let i = paginate.currPage + 1; i <= paginate.currPage + rightCnt; i++) { %>
<% for (let i = paginate.currPage + 1; i <= paginate.currPage + rightCnt - 1; i++) { %>
<a class="item" href="<%= syzoj.utils.makeUrl(req, Object.assign(req.query, { page: i })) %>"><%= i %></a>
<% } %>

Loading…
Cancel
Save