1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-09 23:26:40 +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/tooltip.js vendored
View File

@@ -267,7 +267,7 @@ var Tooltip = function ($) {
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
if ('ontouchstart' in document.documentElement) {
$('body').children().on('mouseover', null, $.noop);
$(document.body).children().on('mouseover', null, $.noop);
}
var complete = function complete() {
@@ -328,7 +328,7 @@ var Tooltip = function ($) {
// empty mouseover listeners we added for iOS support
if ('ontouchstart' in document.documentElement) {
$('body').children().off('mouseover', null, $.noop);
$(document.body).children().off('mouseover', null, $.noop);
}
this._activeTrigger[Trigger.CLICK] = false;