1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-26 05:19:15 +02:00
This commit is contained in:
Mark Otto
2018-02-24 12:44:44 -08:00
parent b8bfd26358
commit f3cec5e7f9
23 changed files with 61 additions and 41 deletions

4
js/dist/dropdown.js vendored
View File

@@ -172,7 +172,7 @@ var Dropdown = function ($) {
if ('ontouchstart' in document.documentElement && $(parent).closest(Selector.NAVBAR_NAV).length === 0) {
$('body').children().on('mouseover', null, $.noop);
$(document.body).children().on('mouseover', null, $.noop);
}
this._element.focus();
@@ -355,7 +355,7 @@ var Dropdown = function ($) {
if ('ontouchstart' in document.documentElement) {
$('body').children().off('mouseover', null, $.noop);
$(document.body).children().off('mouseover', null, $.noop);
}
toggles[i].setAttribute('aria-expanded', 'false');