From 489588cfd59f3f0a9ba49ea6203a6e48cd80fb2c Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Wed, 15 Jun 2016 13:44:46 -0700 Subject: [PATCH] Fix error in dropdown logic with hideAdditions, fix func call missing parens --- src/definitions/modules/dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 25e38600e..a1e6c391c 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -2999,7 +2999,7 @@ $.fn.dropdown = function(parameters) { return (document.activeElement === $search[0]); }, allFiltered: function() { - return( (module.is.multiple() || module.has.search()) && !module.has.userSuggestion && !module.has.message() && module.has.allResultsFiltered() ); + return( (module.is.multiple() || module.has.search()) && !(settings.hideAdditions == false && module.has.userSuggestion()) && !module.has.message() && module.has.allResultsFiltered() ); }, hidden: function($subMenu) { return !module.is.visible($subMenu);