mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-28 06:20:15 +02:00
fix(plugins): save instance in constructor
This commit is contained in:
@@ -134,10 +134,10 @@ class Popover extends Tooltip {
|
||||
_cleanTipClass() {
|
||||
const tip = this.getTipElement()
|
||||
const tabClass = tip.getAttribute('class').match(BSCLS_PREFIX_REGEX)
|
||||
|
||||
if (tabClass !== null && tabClass.length > 0) {
|
||||
tabClass.map((token) => token.trim()).forEach((tClass) => {
|
||||
tip.classList.remove(tClass)
|
||||
})
|
||||
tabClass.map((token) => token.trim())
|
||||
.forEach((tClass) => tip.classList.remove(tClass))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user