mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Scroller: delay resize after updateAll
This commit is contained in:
parent
fffea5455e
commit
a1821127be
@ -345,6 +345,14 @@ ts.scroller = {
|
||||
|
||||
tsScroller.updateFixed( c, wo );
|
||||
|
||||
// updateAll called - need to give the browser time to adjust the layout
|
||||
// before calculating fix column widths
|
||||
if ( c.table.hasInitialized && c.isScrolling ) {
|
||||
setTimeout(function(){
|
||||
ts.scroller.resize( c, wo );
|
||||
}, 50);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
resize : function( c, wo ) {
|
||||
|
Loading…
Reference in New Issue
Block a user