Skip to content

Commit

Permalink
Don't focus on single selection . Fixes #153
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de committed Oct 5, 2018
1 parent 228b97c commit a7c7c29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,9 @@ $.fn.dropdown = function(parameters) {
module.event.item.click.call($selectedItem, event);
if(module.is.searchSelection()) {
module.remove.searchTerm();
$search.focus();
if(module.is.multiple()) {
$search.focus();
}
}
}
event.preventDefault();
Expand Down

0 comments on commit a7c7c29

Please sign in to comment.