mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Core: Add applyWidgetId name to widgets option
This commit is contained in:
parent
fdd82f847e
commit
a66267e6bf
@ -1864,6 +1864,10 @@
|
||||
if ( widget ) {
|
||||
name = widget.id;
|
||||
applied = false;
|
||||
// add widget name to option list so it gets reapplied after sorting, filtering, etc
|
||||
if ( $.inArray( name, c.widgets ) < 0 ) {
|
||||
c.widgets.push( name );
|
||||
}
|
||||
if ( c.debug ) { time = new Date(); }
|
||||
|
||||
if ( init || !( c.widgetInit[ name ] ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user