Skip to content

Commit

Permalink
Fixed bug with dynatable resetting page from params on init
Browse files Browse the repository at this point in the history
  • Loading branch information
JangoSteve committed Jun 19, 2012
1 parent 9007cc4 commit cccd78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.dynatable.js
Expand Up @@ -181,8 +181,8 @@
}

if (settings.features.paginate) {
plugin.page.set(pageUrl ? pageUrl[1] : 1);
if (perPageUrl) { plugin.perPage.set(perPageUrl[1]); }
plugin.page.set(pageUrl ? pageUrl[1] : 1);
plugin.paginationLinks.attach();

if (settings.features.perPageSelect) {
Expand Down

0 comments on commit cccd78b

Please sign in to comment.