mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
No more savePages js error. Fixes #387
This commit is contained in:
parent
56cfc6617b
commit
a386ae24ac
@ -528,7 +528,7 @@
|
||||
c.appender = $this.appender;
|
||||
|
||||
if (p.savePages && ts.storage) {
|
||||
t = ts.storage(table, 'tablesorter-pager');
|
||||
t = ts.storage(table, 'tablesorter-pager') || {};
|
||||
p.page = isNaN(t.page) ? p.page : t.page;
|
||||
p.size = isNaN(t.size) ? p.size : t.size;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user