mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
closes #3038
This commit is contained in:
@@ -13,7 +13,7 @@ pagination.create = function(currentPage, pageCount, queryObj) {
|
||||
pages: []
|
||||
};
|
||||
}
|
||||
|
||||
pageCount = parseInt(pageCount, 10);
|
||||
var pagesToShow = [1, 2, pageCount - 1, pageCount];
|
||||
|
||||
currentPage = parseInt(currentPage, 10) || 1;
|
||||
|
||||
Reference in New Issue
Block a user