Skip to content

Commit

Permalink
fix(dropdown): prevents close/open bubbling
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de authored and Sean committed Oct 24, 2018
1 parent de7134d commit 6ed8db1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -1671,10 +1671,7 @@ $.fn.dropdown = function(parameters) {
;
if( module.can.activate( $(element) ) ) {
module.set.selected(value, $(element));
if(module.is.multiple() && !module.is.allFiltered()) {
return;
}
else {
if(!module.is.multiple()) {
module.hideAndClear();
}
}
Expand All @@ -1687,10 +1684,7 @@ $.fn.dropdown = function(parameters) {
;
if( module.can.activate( $(element) ) ) {
module.set.value(value, text, $(element));
if(module.is.multiple() && !module.is.allFiltered()) {
return;
}
else {
if(!module.is.multiple()) {
module.hideAndClear();
}
}
Expand Down

0 comments on commit 6ed8db1

Please sign in to comment.