twitter/typeahead.js — pull request #351 by popomore (2013-07-18 11:30:46+00:00)
Title: Improve handleSelection

When the dropdown is clicked, the input will blur, then we should focus after that.

However, blur can be prevented by preventing dropdown's mousedown. So focus is not necessary.