aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2017-04-20 14:35:33 +0100
committerGitHub <[email protected]>2017-04-20 14:35:33 +0100
commitfb3303f5ddff2f57c3603ceabb6668d4a3cb559c (patch)
tree5a76b1ff8ea6f4115f2feab40e0033143b5d736c /js/src
parent1f37c536b2691e4a98310982f9b58ede506f11d8 (diff)
downloadbootstrap-fb3303f5ddff2f57c3603ceabb6668d4a3cb559c.tar.xz
bootstrap-fb3303f5ddff2f57c3603ceabb6668d4a3cb559c.zip
Fix for copy/paste error in iOS hack to tooltips
(with apologies, this slipped through due to build system problems on my end)
Diffstat (limited to 'js/src')
-rw-r--r--js/src/tooltip.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index c97f49108..47c3d8d05 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -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)
}