1
0
mirror of synced 2024-11-29 16:16:02 +03:00

fix updateResults prevention if dropdown is closed

This commit is contained in:
Ali Malrkpour 2012-07-16 15:39:02 -04:00
parent 3ed2cc091a
commit 01faae3ff7

View File

@ -965,7 +965,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;
}