mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
ui-theme: use hasWidget function; fixes #1327
This commit is contained in:
parent
920dd01baa
commit
793a59d83d
@ -124,7 +124,7 @@
|
|||||||
.addClass(themes.icons || '');
|
.addClass(themes.icons || '');
|
||||||
}
|
}
|
||||||
// filter widget initializes after uitheme
|
// filter widget initializes after uitheme
|
||||||
if (c.widgets.indexOf('filter') > -1) {
|
if (ts.hasWidget( c.table, 'filter' )) {
|
||||||
tmp = function() {
|
tmp = function() {
|
||||||
$table.children('thead').children('.' + ts.css.filterRow)
|
$table.children('thead').children('.' + ts.css.filterRow)
|
||||||
.removeClass(hasOldTheme ? oldtheme.filterRow || '' : '')
|
.removeClass(hasOldTheme ? oldtheme.filterRow || '' : '')
|
||||||
|
Loading…
Reference in New Issue
Block a user