mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 00:24:03 +02:00
Fix for copy/paste error in iOS hack to tooltips
(with apologies, this slipped through due to build system problems on my end)
This commit is contained in:
@@ -308,8 +308,7 @@ const Tooltip = (($) => {
|
|||||||
// empty mouseover listeners to the body's immediate children;
|
// empty mouseover listeners to the body's immediate children;
|
||||||
// only needed because of broken event delegation on iOS
|
// only needed because of broken event delegation on iOS
|
||||||
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
|
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
|
||||||
if ('ontouchstart' in document.documentElement &&
|
if ('ontouchstart' in document.documentElement) {
|
||||||
!$(parent).closest(Selector.NAVBAR_NAV).length) {
|
|
||||||
$('body').children().on('mouseover', null, $.noop)
|
$('body').children().on('mouseover', null, $.noop)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user