mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 22:56:46 +02:00
Dist (#30694)
This commit is contained in:
7
js/dist/popover.js
vendored
7
js/dist/popover.js
vendored
@@ -115,14 +115,14 @@
|
||||
var CLASS_PREFIX = 'bs-popover';
|
||||
var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
|
||||
|
||||
var Default = _objectSpread2({}, Tooltip.Default, {
|
||||
var Default = _objectSpread2(_objectSpread2({}, Tooltip.Default), {}, {
|
||||
placement: 'right',
|
||||
trigger: 'click',
|
||||
content: '',
|
||||
template: '<div class="popover" role="tooltip">' + '<div class="popover-arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
|
||||
});
|
||||
|
||||
var DefaultType = _objectSpread2({}, Tooltip.DefaultType, {
|
||||
var DefaultType = _objectSpread2(_objectSpread2({}, Tooltip.DefaultType), {}, {
|
||||
content: '(string|element|function)'
|
||||
});
|
||||
|
||||
@@ -174,8 +174,7 @@
|
||||
}
|
||||
|
||||
this.setElementContent(SelectorEngine.findOne(SELECTOR_CONTENT, tip), content);
|
||||
tip.classList.remove(CLASS_NAME_FADE);
|
||||
tip.classList.remove(CLASS_NAME_SHOW);
|
||||
tip.classList.remove(CLASS_NAME_FADE, CLASS_NAME_SHOW);
|
||||
};
|
||||
|
||||
_proto._addAttachmentClass = function _addAttachmentClass(attachment) {
|
||||
|
Reference in New Issue
Block a user