diff options
author | Emil Kashkevich <emil.kashkevich@gmail.com> | 2015-04-15 00:27:47 +0200 |
---|---|---|
committer | Emil Kashkevich <emil.kashkevich@gmail.com> | 2015-04-15 00:27:47 +0200 |
commit | 9d054c0ba2f0b9c1a9cb112204cd33335f5471d0 (patch) | |
tree | 04883a3844fed43e2c52dc1f3c84725234096ecf | |
parent | d4d3aa4535989205baf9cc2b42850c0c53e77a7d (diff) | |
download | multiple-select-9d054c0ba2f0b9c1a9cb112204cd33335f5471d0.zip multiple-select-9d054c0ba2f0b9c1a9cb112204cd33335f5471d0.tar.gz multiple-select-9d054c0ba2f0b9c1a9cb112204cd33335f5471d0.tar.bz2 |
Fixed filter functionality with 'no-results' label behavior
-rw-r--r-- | jquery.multiple.select.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.multiple.select.js b/jquery.multiple.select.js index b8f2338..56e778c 100644 --- a/jquery.multiple.select.js +++ b/jquery.multiple.select.js @@ -478,7 +478,7 @@ }); //Check if no matches found - if (this.$selectItems.filter(':visible').length) { + if (this.$selectItems.parent().filter(':visible').length) { this.$selectAll.parent().show(); this.$noResults.hide(); } else { |