Filter: Fix liveSearch ignoring searchDelay. See #1299

This commit is contained in:
Rob Garrison 2016-11-28 13:15:56 -06:00
parent 96244332f1
commit 300f436ec8
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -848,7 +848,7 @@
event.preventDefault(); event.preventDefault();
// init search with no delay // init search with no delay
$( this ).attr( 'data-lastSearchTime', new Date().getTime() ); $( 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 );
} }
}); });
}, },