diff options
| author | Patrick H. Lauke <[email protected]> | 2017-04-20 14:35:33 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-04-20 14:35:33 +0100 |
| commit | fb3303f5ddff2f57c3603ceabb6668d4a3cb559c (patch) | |
| tree | 5a76b1ff8ea6f4115f2feab40e0033143b5d736c /js/src | |
| parent | 1f37c536b2691e4a98310982f9b58ede506f11d8 (diff) | |
| download | bootstrap-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.js | 3 |
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) } |
