Skip to content

Commit

Permalink
Filter: second attempt at #1152
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed May 23, 2017
1 parent 0a18019 commit 264181e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/widget-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 264181e

Please sign in to comment.