Browse Source

fixed large nav bar problem (closes #94)

pull/98/head
jrtechs 3 years ago
parent
commit
f130163c77
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      blog/renderNextBar.js

+ 4
- 0
blog/renderNextBar.js View File

@ -56,6 +56,10 @@ module.exports=
var pages = [];
while(isValidPage(page, postsPerPage, totalPosts))
{
if(page === 11)
{
break;
}
if(page === currentPage)
{
pages.push({isCurrent: true, number: page})

Loading…
Cancel
Save