From 793a59d83dc064f45303298e29ccc184f9d176ae Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Mon, 28 Nov 2016 10:58:54 -0600 Subject: [PATCH] ui-theme: use hasWidget function; fixes #1327 --- js/widgets/widget-uitheme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/widgets/widget-uitheme.js b/js/widgets/widget-uitheme.js index bb5f5772..7b583f7b 100644 --- a/js/widgets/widget-uitheme.js +++ b/js/widgets/widget-uitheme.js @@ -124,7 +124,7 @@ .addClass(themes.icons || ''); } // filter widget initializes after uitheme - if (c.widgets.indexOf('filter') > -1) { + if (ts.hasWidget( c.table, 'filter' )) { tmp = function() { $table.children('thead').children('.' + ts.css.filterRow) .removeClass(hasOldTheme ? oldtheme.filterRow || '' : '')