Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit 884180c

Browse files
author
Matt Karl
committed
Bumped version, fixed pagination bug
1 parent 449af9c commit 884180c

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

app/helpers/pagination.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ module.exports = function(base, numItems, currentPage, itemsPerPage, buttonCount
1616

1717
var total = Math.ceil(numItems / itemsPerPage);
1818
var current = parseInt(currentPage) || 1;
19-
if (current > total)
20-
{
21-
current = total;
22-
}
2319

2420
buttonCount = buttonCount || 7; //default to seven
2521

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SpringRollConnect",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"dependencies": {
55
"jquery": "*",
66
"bootstrap": "*",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.1.5",
2+
"version": "1.1.6",
33
"private": true,
44
"devDependencies": {
55
"grunt": "^0.4.5",

project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SpringRollConnect",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"main": [
55
"src/plugins/*.js",
66
"src/widgets/*.js",

0 commit comments

Comments
 (0)