Browse Source

Fix error in dropdown logic with hideAdditions, fix func call missing parens

pull/4164/head
Jack Lukic 8 years ago
parent
commit
489588cfd5
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/dropdown.js

2
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);

Loading…
Cancel
Save