summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Kashkevich <emil.kashkevich@gmail.com>2015-04-15 00:27:47 +0200
committerEmil Kashkevich <emil.kashkevich@gmail.com>2015-04-15 00:27:47 +0200
commit9d054c0ba2f0b9c1a9cb112204cd33335f5471d0 (patch)
tree04883a3844fed43e2c52dc1f3c84725234096ecf
parentd4d3aa4535989205baf9cc2b42850c0c53e77a7d (diff)
downloadmultiple-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.js2
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 {