mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-10-08 13:44:18 +00:00
Core: update column count after reset
This commit is contained in:
parent
6e46f7aecb
commit
c91ceeb5b1
@ -1768,6 +1768,10 @@
|
|||||||
ts.setHeadersCss( c );
|
ts.setHeadersCss( c );
|
||||||
ts.multisort( c );
|
ts.multisort( c );
|
||||||
ts.appendCache( c );
|
ts.appendCache( c );
|
||||||
|
var indx;
|
||||||
|
for (indx = 0; indx < c.columns; indx++) {
|
||||||
|
c.sortVars[ indx ].count = -1;
|
||||||
|
}
|
||||||
if ( $.isFunction( callback ) ) {
|
if ( $.isFunction( callback ) ) {
|
||||||
callback( c.table );
|
callback( c.table );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user