From fb3303f5ddff2f57c3603ceabb6668d4a3cb559c Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Thu, 20 Apr 2017 14:35:33 +0100 Subject: [PATCH] Fix for copy/paste error in iOS hack to tooltips (with apologies, this slipped through due to build system problems on my end) --- js/src/tooltip.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/src/tooltip.js b/js/src/tooltip.js index c97f491084..47c3d8d058 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) }