mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Pager (widget only): fix initial start page default
This commit is contained in:
parent
7dc74b9892
commit
ec0343ab5f
@ -167,7 +167,7 @@ tsp = ts.pager = {
|
||||
p.initializing = true;
|
||||
if (wo.pager_savePages && ts.storage) {
|
||||
t = ts.storage(table, wo.pager_storageKey) || {}; // fixes #387
|
||||
p.page = ( isNaN(t.page) ? p.page : t.page ) || p.setPage || 1;
|
||||
p.page = ( isNaN(t.page) ? p.page : t.page ) || p.setPage || 0;
|
||||
p.size = ( isNaN(t.size) ? p.size : t.size ) || p.setSize || 10;
|
||||
$.data(table, 'pagerLastSize', p.size);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user