Skip to content

Commit

Permalink
Update bootstrap-table-filter-control.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin authored Dec 14, 2017
1 parent 41432f9 commit 950c2b0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
return;
}

clearTimeout(event.currentTarget.timeoutId);
clearTimeout(event.currentTarget.timeoutId || 0);
event.currentTarget.timeoutId = setTimeout(function () {
that.onColumnSearch(event);
}, that.options.searchTimeOut);
Expand All @@ -333,7 +333,7 @@
return;
}

clearTimeout(event.currentTarget.timeoutId);
clearTimeout(event.currentTarget.timeoutId || 0);
event.currentTarget.timeoutId = setTimeout(function () {
that.onColumnSearch(event);
}, that.options.searchTimeOut);
Expand All @@ -351,7 +351,7 @@
var newValue = $input.val();

if (newValue === "") {
clearTimeout(event.currentTarget.timeoutId);
clearTimeout(event.currentTarget.timeoutId || 0);
event.currentTarget.timeoutId = setTimeout(function () {
that.onColumnSearch(event);
}, that.options.searchTimeOut);
Expand Down

0 comments on commit 950c2b0

Please sign in to comment.