diff --git a/themes/bootstrap3/js/autocomplete.js b/themes/bootstrap3/js/autocomplete.js index 299c1c14004dfa5ab881617c3b78233a226cb5fa..3641089258bd74131db385706201a2ad7d2e1779 100644 --- a/themes/bootstrap3/js/autocomplete.js +++ b/themes/bootstrap3/js/autocomplete.js @@ -66,6 +66,10 @@ $.fn.autocomplete.element.html(shell); $.fn.autocomplete.element.find('.item').mousedown(function() { populate($(this).attr('data-value'), input, {mouse: true}); + setTimeout(function() { + input.focus(); + hide(); + }, 10); }); align(input, $.fn.autocomplete.element); }