fix errors within gl_dropdown_spec.js when running in Karma
This commit is contained in:
parent
42086615e5
commit
bccd791d4d
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@
|
|||
_this.fullData = data;
|
||||
_this.parseData(_this.fullData);
|
||||
_this.focusTextInput();
|
||||
if (_this.options.filterable && _this.filter && _this.filter.input && _this.filter.input.val().trim() !== '') {
|
||||
if (_this.options.filterable && _this.filter && _this.filter.input && _this.filter.input.val() && _this.filter.input.val().trim() !== '') {
|
||||
return _this.filter.input.trigger('input');
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue