mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Scroller: update when "applyWidgets" is used
This commit is contained in:
parent
fe75d0ff7a
commit
84180c1961
2
dist/js/widgets/widget-scroller.min.js
vendored
2
dist/js/widgets/widget-scroller.min.js
vendored
File diff suppressed because one or more lines are too long
@ -77,7 +77,9 @@
|
|||||||
scroller_barWidth : null
|
scroller_barWidth : null
|
||||||
},
|
},
|
||||||
format : function( table, c, wo ) {
|
format : function( table, c, wo ) {
|
||||||
if ( !c.isScrolling ) {
|
if ( c.isScrolling ) {
|
||||||
|
ts.scroller.resize( c, wo );
|
||||||
|
} else {
|
||||||
// initialize here instead of in widget init to give the
|
// initialize here instead of in widget init to give the
|
||||||
// filter widget time to finish building the filter row
|
// filter widget time to finish building the filter row
|
||||||
ts.scroller.setup( c, wo );
|
ts.scroller.setup( c, wo );
|
||||||
|
Loading…
Reference in New Issue
Block a user