diff --git a/main/webapp/modules/core/scripts/facets/text-search-facet.js b/main/webapp/modules/core/scripts/facets/text-search-facet.js index c084eb5da..ec4baff58 100644 --- a/main/webapp/modules/core/scripts/facets/text-search-facet.js +++ b/main/webapp/modules/core/scripts/facets/text-search-facet.js @@ -202,13 +202,8 @@ TextSearchFacet.prototype._scheduleUpdate = function() { var self = this; this._timerID = window.setTimeout(function() { self._timerID = null; - if(self._config.mode === 'regex') { - setTimeout(function(){ self._updateRest(); }, 1000); - } - else if (self._config.caseSensitive == true) { - setTimeout(function(){ self._updateRest(); }, 250); - } - }, 500); + self._updateRest(); + }, self._config.mode === 'regex' ? 1500 : 500); } };