Skip to content

Commit 6182f62

Browse files
committed
Merge pull request #30 from hooray/master
#24 refresh the current page
2 parents 698a7d2 + c358c53 commit 6182f62

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/jquery.pagination.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@
218218
}
219219
return false;
220220
});
221+
containers.bind('currentPage', function(){
222+
var current_page = $(this).data('current_page');
223+
selectPage(current_page);
224+
return false;
225+
});
221226

222227
// When all initialisation is done, draw the links
223228
links = renderer.getLinks(current_page, paginationClickHandler);

0 commit comments

Comments
 (0)