From 0dece7a71f4f3591c7d1fecb9dea7cba82c9624a Mon Sep 17 00:00:00 2001 From: Marcel Korpel Date: Sat, 1 Dec 2012 15:19:41 +0100 Subject: Set focus back to input field after clicking an item Test 'focus is still set' added Fixes issue #5933 --- js/bootstrap-typeahead.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/bootstrap-typeahead.js') diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js index 2f3dc274f..4f333e8c2 100644 --- a/js/bootstrap-typeahead.js +++ b/js/bootstrap-typeahead.js @@ -263,6 +263,7 @@ e.stopPropagation() e.preventDefault() this.select() + this.$element.focus() } , mouseenter: function (e) { -- cgit v1.2.3