You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And if I reset again, the table width will be vars.tableWidth.
I can offer the following fix:
// restore the initial table width
if ( vars.overflow && vars.tableWidth ) {
ts.resizable.setWidth( c.$table, vars.tableWidth, true );
if ( vars.useStorage ) {
ts.storage( table, 'tablesorter-table-resized-width', vars.tableWidth );
}
}
// Also I found a small typo in line 408: ts.storage( this, ts.css.resizableStorage, {} );
I think, the following code is should be here: ts.storage( this, ts.css.resizableStorage, [] );
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue and providing a fix! I really appreciate it.
I've added the changes you mentioned in the master branch, but I don't know when I'll make the next release available. I've got a few other issues to address before that happens.
When I reset widths, the following code block is executed in the ResizableReset function:
If I reload my app, the table width will be 'auto' instead of vars.tableWidth in the following code block:
And if I reset again, the table width will be vars.tableWidth.
I can offer the following fix:
// Also I found a small typo in line 408:
ts.storage( this, ts.css.resizableStorage, {} );
I think, the following code is should be here:
ts.storage( this, ts.css.resizableStorage, [] );
The text was updated successfully, but these errors were encountered: