diff --git a/zephyr/static/third/bootstrap/js/bootstrap.js b/zephyr/static/third/bootstrap/js/bootstrap.js index 6ecfe94e1f..3a5fbb7565 100644 --- a/zephyr/static/third/bootstrap/js/bootstrap.js +++ b/zephyr/static/third/bootstrap/js/bootstrap.js @@ -1889,8 +1889,10 @@ this.query = this.$element.val() - if (!this.query || this.query.length < this.options.minLength) { - return this.shown ? this.hide() : this + if (!this.options.helpOnEmptyStrings) { + if (!this.query || this.query.length < this.options.minLength) { + return this.shown ? this.hide() : this + } } items = $.isFunction(this.source) ? this.source(this.query, $.proxy(this.process, this)) : this.source