Skip to content

Commit c358c53

Browse files
committed
#28 refresh the current page
1 parent 698a7d2 commit c358c53

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)