1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-10-02 00:06:46 +02:00

build dist

This commit is contained in:
Mark Otto
2017-06-30 15:45:27 -07:00
parent a7a47081f2
commit 7f6479b0d9
27 changed files with 261 additions and 254 deletions

22
js/dist/tooltip.js vendored
View File

@@ -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);
}