Filter: second attempt at #1152

This commit is contained in:
Rob Garrison 2017-05-23 18:04:23 -05:00
parent 0a18019581
commit 264181e6a4

View File

@ -848,7 +848,7 @@
// change & input events must be ignored if liveSearch !== true
( event.type === 'change' || event.type === 'input' ) &&
// prevent search if liveSearch is a number
liveSearch === true &&
( liveSearch === true || liveSearch !== true && event.target.nodeName !== "INPUT" ) &&
// don't allow 'change' or 'input' event to process if the input value
// is the same - fixes #685
this.value !== c.lastSearch[column]