twitter/bootstrap — pull request #6050 by blakeembrey (2012-11-28 21:03:35+00:00)
Title: Typeahead click accessibility

When clicking an item in the typeahead menu, the menu disappear after 150 milliseconds - which can be an issue for some users (especially since it disappears without selecting anything). This fix waits for the click event for mouseup (in case of click and drag). It prevents the mousedown event to avoid the input blur event.