Merge pull request #2324 from kushthedude/timeout

enh: Text Filter waits until user finishes updating
This commit is contained in:
Antonin Delpeuch 2020-03-07 21:10:21 +00:00 committed by GitHub
commit 3d5a93d506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,7 @@ TextSearchFacet.prototype._scheduleUpdate = function() {
this._timerID = window.setTimeout(function() {
self._timerID = null;
self._updateRest();
}, 500);
}, self._config.mode === 'regex' ? 1500 : 500);
}
};