Skip to content

Commit

Permalink
Done v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hnq90 committed Oct 28, 2013
1 parent 7d027b6 commit e8d5ec4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@
}

/* -- Hide pagination for infinite scrolling -- */
if (is_infinite)
if (is_infinite || is_many_page == 0)
{
$(".pagination").css("display", is_many_page == 0 ? "none":"block" );
$(".pagination").css("display", "none" );
} else {
$(".pagination").css("display", "block");
}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e8d5ec4

Please sign in to comment.