mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Filter widget bindSearch function update
This commit is contained in:
parent
aabc4621ac
commit
dc2d146751
@ -708,7 +708,7 @@ ts.filter = {
|
||||
bindSearch: function(table, $el) {
|
||||
table = $(table)[0];
|
||||
var external, wo = table.config.widgetOptions;
|
||||
$el.bind('keyup search', function(event, filter) {
|
||||
$el.unbind('keyup search').bind('keyup search', function(event, filter) {
|
||||
// emulate what webkit does.... escape clears the filter
|
||||
if (event.which === 27) {
|
||||
this.value = '';
|
||||
|
Loading…
Reference in New Issue
Block a user