summaryrefslogtreecommitdiffstats
path: root/multiple-select.js
diff options
context:
space:
mode:
Diffstat (limited to 'multiple-select.js')
-rw-r--r--multiple-select.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/multiple-select.js b/multiple-select.js
index 627a57d..8f249a5 100644
--- a/multiple-select.js
+++ b/multiple-select.js
@@ -516,9 +516,11 @@
var that = this,
text = $.trim(this.$searchInput.val()).toLowerCase();
if (text.length === 0) {
+ this.$selectAll.parent().show();
this.$selectItems.parent().show();
this.$disableItems.parent().show();
this.$selectGroups.parent().show();
+ this.$noResults.hide();
} else {
this.$selectItems.each(function () {
var $parent = $(this).parent();