Merge pull request #223 from malekpour/master
fix dropdown reopen on enter
This commit is contained in:
commit
b731545eea
@ -981,7 +981,7 @@
|
|||||||
var search = this.search, results = this.results, opts = this.opts, self=this;
|
var search = this.search, results = this.results, opts = this.opts, self=this;
|
||||||
|
|
||||||
// if the search is currently hidden we do not alter the results
|
// if the search is currently hidden we do not alter the results
|
||||||
if (initial !== true && this.showSearchInput === false) {
|
if (initial !== true && (this.showSearchInput === false || !this.opened())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user