mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
ColumnSelector: prevent remove widget js error. Fixes #1106
This commit is contained in:
parent
03db8eec0e
commit
0648c8025c
2
dist/js/widgets/widget-columnSelector.min.js
vendored
2
dist/js/widgets/widget-columnSelector.min.js
vendored
File diff suppressed because one or more lines are too long
@ -471,8 +471,8 @@
|
||||
tsColSel.init(table, c, wo);
|
||||
},
|
||||
remove: function(table, c, wo, refreshing) {
|
||||
if (refreshing) { return; }
|
||||
var csel = c.selector;
|
||||
if ( refreshing || !csel ) { return; }
|
||||
csel.$container.empty();
|
||||
if (csel.$popup) { csel.$popup.empty(); }
|
||||
csel.$style.remove();
|
||||
|
Loading…
Reference in New Issue
Block a user