mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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:
parent
1f37c536b2
commit
fb3303f5dd
1 changed files with 1 additions and 2 deletions
|
@ -308,8 +308,7 @@ const Tooltip = (($) => {
|
|||
// empty mouseover listeners to the body's immediate children;
|
||||
// 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) {
|
||||
if ('ontouchstart' in document.documentElement) {
|
||||
$('body').children().on('mouseover', null, $.noop)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue