diff options
author | Mark Otto <markdotto@gmail.com> | 2017-04-22 09:58:09 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-04-22 09:58:09 +0300 |
commit | ba312c20a5ceca42117dd53303bafda485d8facd (patch) | |
tree | 2d185875a0ac2b73d34a8187e7d4c696b7625eec /js/dist/dropdown.js | |
parent | 638b97f19c4df6f51475f8088555e3eefd2b986f (diff) |
build
Diffstat (limited to 'js/dist/dropdown.js')
-rw-r--r-- | js/dist/dropdown.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/dist/dropdown.js b/js/dist/dropdown.js index aeb4044f77..62df3f341d 100644 --- a/js/dist/dropdown.js +++ b/js/dist/dropdown.js @@ -104,7 +104,7 @@ var Dropdown = function ($) { // only needed because of broken event delegation on iOS // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html if ('ontouchstart' in document.documentElement && !$(parent).closest(Selector.NAVBAR_NAV).length) { - $('body').children().on('mouseover', '*', $.noop); + $('body').children().on('mouseover', null, $.noop); } this.focus(); @@ -178,7 +178,7 @@ var Dropdown = function ($) { // if this is a touch-enabled device we remove the extra // empty mouseover listeners we added for iOS support if ('ontouchstart' in document.documentElement) { - $('body').children().off('mouseover', '*', $.noop); + $('body').children().off('mouseover', null, $.noop); } toggles[i].setAttribute('aria-expanded', 'false'); @@ -284,4 +284,4 @@ var Dropdown = function ($) { return Dropdown; }(jQuery); -//# sourceMappingURL=dropdown.js.map +//# sourceMappingURL=dropdown.js.map
\ No newline at end of file |