From a7c7c297f993aceb69c156d009661369c856d472 Mon Sep 17 00:00:00 2001 From: lubber-de Date: Fri, 5 Oct 2018 10:20:31 +0200 Subject: [PATCH] Don't focus on single selection . Fixes #153 --- src/definitions/modules/dropdown.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 9a398be0e9..ee91ab4531 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -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();