mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
No js error when getFilters targets a non-tablesorter table
This commit is contained in:
parent
a0e5620c69
commit
c21437dc1e
@ -1102,7 +1102,7 @@ ts.getFilters = function(table, getRaw, setFilters, skipFirst) {
|
||||
var i, $filters, $column,
|
||||
filters = false,
|
||||
c = table ? $(table)[0].config : '',
|
||||
wo = table ? c.widgetOptions : '';
|
||||
wo = c ? c.widgetOptions : '';
|
||||
if (getRaw !== true && wo && !wo.filter_columnFilters) {
|
||||
return $(table).data('lastSearch');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user