Resizable reset function now accepts jQuery table objects

This commit is contained in:
Mottie 2014-01-19 09:26:52 -06:00
parent 9bc24314ed
commit c1c984d2af

View File

@ -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