mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Resizable reset function now accepts jQuery table objects
This commit is contained in:
parent
9bc24314ed
commit
c1c984d2af
@ -1354,8 +1354,10 @@ ts.addWidget({
|
||||
}
|
||||
});
|
||||
ts.resizableReset = function(table) {
|
||||
table.config.$headers.not('.resizable-false').css('width','');
|
||||
if (ts.storage) { ts.storage(table, 'tablesorter-resizable', {}); }
|
||||
$(table).each(function(){
|
||||
this.config.$headers.not('.resizable-false').css('width','');
|
||||
if (ts.storage) { ts.storage(this, 'tablesorter-resizable', {}); }
|
||||
});
|
||||
};
|
||||
|
||||
// Save table sort widget
|
||||
|
Loading…
Reference in New Issue
Block a user