mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-12-05 05:04:20 +00:00
Filter: Fix liveSearch ignoring searchDelay. See #1299
This commit is contained in:
parent
96244332f1
commit
300f436ec8
2
dist/js/widgets/widget-filter.min.js
vendored
2
dist/js/widgets/widget-filter.min.js
vendored
File diff suppressed because one or more lines are too long
@ -848,7 +848,7 @@
|
||||
event.preventDefault();
|
||||
// init search with no delay
|
||||
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
|
||||
tsf.searching( table, !/(keypress|input)/.test(event.type), true, column );
|
||||
tsf.searching( table, event.type !== 'keypress', true, column );
|
||||
}
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user