We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c11e010 commit a47a4d4Copy full SHA for a47a4d4
src/autocomplete/typeahead.js
@@ -59,7 +59,7 @@ function Typeahead(o) {
59
// #351: preventDefault won't cancel blurs in ie <= 8
60
$input.on('blur.aa', function($e) {
61
var active = document.activeElement;
62
- if (_.isMsie() && ($menu.is(active) || $menu.has(active).length > 0)) {
+ if (_.isMsie() && ($menu[0] === active || $menu[0].contains(active))) {
63
$e.preventDefault();
64
// stop immediate in order to prevent Input#_onBlur from
65
// getting exectued
0 commit comments