mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
_removeTetherClasses is no longer referenced
This commit is contained in:
@@ -3151,11 +3151,6 @@ if (typeof jQuery === 'undefined') {
|
|||||||
this._fixTitle();
|
this._fixTitle();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, {
|
|
||||||
key: '_removeTetherClasses',
|
|
||||||
value: function _removeTetherClasses(i, css) {
|
|
||||||
return ((css.baseVal || css).match(new RegExp('(^|\\s)' + CLASS_PREFIX + '-\\S+', 'g')) || []).join(' ');
|
|
||||||
}
|
|
||||||
}, {
|
}, {
|
||||||
key: '_fixTitle',
|
key: '_fixTitle',
|
||||||
value: function _fixTitle() {
|
value: function _fixTitle() {
|
||||||
|
2
dist/js/bootstrap.min.js
vendored
2
dist/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
5
dist/js/umd/tooltip.js
vendored
5
dist/js/umd/tooltip.js
vendored
@@ -410,11 +410,6 @@
|
|||||||
this._fixTitle();
|
this._fixTitle();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, {
|
|
||||||
key: '_removeTetherClasses',
|
|
||||||
value: function _removeTetherClasses(i, css) {
|
|
||||||
return ((css.baseVal || css).match(new RegExp('(^|\\s)' + CLASS_PREFIX + '-\\S+', 'g')) || []).join(' ');
|
|
||||||
}
|
|
||||||
}, {
|
}, {
|
||||||
key: '_fixTitle',
|
key: '_fixTitle',
|
||||||
value: function _fixTitle() {
|
value: function _fixTitle() {
|
||||||
|
@@ -438,12 +438,6 @@ const Tooltip = (($) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_removeTetherClasses(i, css) {
|
|
||||||
return ((css.baseVal || css).match(
|
|
||||||
new RegExp(`(^|\\s)${CLASS_PREFIX}-\\S+`, 'g')) || []
|
|
||||||
).join(' ')
|
|
||||||
}
|
|
||||||
|
|
||||||
_fixTitle() {
|
_fixTitle() {
|
||||||
let titleType = typeof this.element.getAttribute('data-original-title')
|
let titleType = typeof this.element.getAttribute('data-original-title')
|
||||||
if (this.element.getAttribute('title') ||
|
if (this.element.getAttribute('title') ||
|
||||||
|
Reference in New Issue
Block a user