mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Filter: update cache when delayInit set. Fixes #1180
This commit is contained in:
parent
5d50d21087
commit
15f5cc19e0
@ -834,7 +834,7 @@
|
||||
// prevent errors if delay init is set
|
||||
if ( $.isEmptyObject( c.cache ) ) {
|
||||
// update cache if delayInit set & pager has initialized ( after user initiates a search )
|
||||
if ( c.delayInit && c.pager && c.pager.initialized ) {
|
||||
if ( c.delayInit && ( !c.pager || c.pager && c.pager.initialized ) ) {
|
||||
ts.updateCache( c, function() {
|
||||
tsf.checkFilters( table, false, skipFirst );
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user