From f83c981d089d1b15159bb6646e15401a42563cd6 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 30 Jun 2017 08:32:49 -0700 Subject: build dist --- js/dist/tooltip.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'js/dist/tooltip.js') diff --git a/js/dist/tooltip.js b/js/dist/tooltip.js index 9d156db283..b83c6fc0e1 100644 --- a/js/dist/tooltip.js +++ b/js/dist/tooltip.js @@ -106,14 +106,14 @@ var Tooltip = function ($) { FOCUS: 'focus', CLICK: 'click', MANUAL: 'manual' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Tooltip = function () { function Tooltip(element, config) { _classCallCheck(this, Tooltip); @@ -270,13 +270,13 @@ var Tooltip = function ($) { } }); - $(tip).addClass(ClassName.SHOW + $(tip).addClass(ClassName.SHOW); // if this is a touch-enabled device we add extra // 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) { + if ('ontouchstart' in document.documentElement) { $('body').children().on('mouseover', null, $.noop); } @@ -330,11 +330,11 @@ var Tooltip = function ($) { return; } - $(tip).removeClass(ClassName.SHOW + $(tip).removeClass(ClassName.SHOW); // if this is a touch-enabled device we remove the extra // empty mouseover listeners we added for iOS support - );if ('ontouchstart' in document.documentElement) { + if ('ontouchstart' in document.documentElement) { $('body').children().off('mouseover', null, $.noop); } -- cgit v1.2.3