diff options
author | Mark Otto <markdotto@gmail.com> | 2018-02-24 23:44:44 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2018-02-24 23:44:44 +0300 |
commit | f3cec5e7f925ba1cb1700f9de3d728dfc15bccdd (patch) | |
tree | 2fee0985fb8837d98189a252624936662543d1de /js/dist/tooltip.js | |
parent | b8bfd263581faf4950e3702277126dd7581d7ba8 (diff) |
dist
Diffstat (limited to 'js/dist/tooltip.js')
-rw-r--r-- | js/dist/tooltip.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/dist/tooltip.js b/js/dist/tooltip.js index 8f3dc5e603..b0960d94a7 100644 --- a/js/dist/tooltip.js +++ b/js/dist/tooltip.js @@ -267,7 +267,7 @@ var Tooltip = function ($) { // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html if ('ontouchstart' in document.documentElement) { - $('body').children().on('mouseover', null, $.noop); + $(document.body).children().on('mouseover', null, $.noop); } var complete = function complete() { @@ -328,7 +328,7 @@ var Tooltip = function ($) { // empty mouseover listeners we added for iOS support if ('ontouchstart' in document.documentElement) { - $('body').children().off('mouseover', null, $.noop); + $(document.body).children().off('mouseover', null, $.noop); } this._activeTrigger[Trigger.CLICK] = false; |