Skip to content

Commit

Permalink
Improved #23, #54 Page text can be wrapped/replaced.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelthq committed Nov 4, 2015
1 parent 5a89c6f commit 51c019e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jquery.twbsPagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
$itemContent = $('<a></a>'),
itemText = null;

itemText = this.options[type] ? this.makeText(this.options[type]) : page;
itemText = this.options[type] ? this.makeText(this.options[type], page) : page;
$itemContainer.addClass(this.options[type + 'Class']);
$itemContainer.data('page', page);
$itemContainer.data('page-type', type);
Expand Down Expand Up @@ -254,6 +254,7 @@
href: false,
pageVariable: '{{page}}',
totalPagesVariable: '{{total_pages}}',
page: '{{page}}',
first: 'First',
prev: 'Previous',
next: 'Next',
Expand Down
2 changes: 1 addition & 1 deletion jquery.twbsPagination.min.js

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

0 comments on commit 51c019e

Please sign in to comment.