1
0
mirror of synced 2024-11-22 13:06:08 +03:00

Merge pull request #223 from malekpour/master

fix dropdown reopen on enter
This commit is contained in:
Igor Vaynberg 2012-07-17 04:54:43 -07:00
commit b731545eea

View File

@ -981,7 +981,7 @@
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 (initial !== true && this.showSearchInput === false) {
if (initial !== true && (this.showSearchInput === false || !this.opened())) {
return;
}