aboutsummaryrefslogtreecommitdiff
path: root/js/dist/tooltip.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-06-30 15:45:27 -0700
committerMark Otto <[email protected]>2017-06-30 15:45:27 -0700
commit7f6479b0d9878dc8fc2de2a6787ec0f6450b46c9 (patch)
treedc9802745b6ba7d151a2c0a4df296555e46a968b /js/dist/tooltip.js
parenta7a47081f21c69159cfa5734e9deb2be3a1acaad (diff)
downloadbootstrap-7f6479b0d9878dc8fc2de2a6787ec0f6450b46c9.tar.xz
bootstrap-7f6479b0d9878dc8fc2de2a6787ec0f6450b46c9.zip
build dist
Diffstat (limited to 'js/dist/tooltip.js')
-rw-r--r--js/dist/tooltip.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/js/dist/tooltip.js b/js/dist/tooltip.js
index 9d156db28..b83c6fc0e 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);
}