mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-09 15:16:51 +02:00
fix arrow popover (#29115)
This commit is contained in:
@@ -105,10 +105,6 @@ class Popover extends Tooltip {
|
|||||||
return this.getTitle() || this._getContent()
|
return this.getTitle() || this._getContent()
|
||||||
}
|
}
|
||||||
|
|
||||||
addAttachmentClass(attachment) {
|
|
||||||
this.getTipElement().classList.add(`${CLASS_PREFIX}-${attachment}`)
|
|
||||||
}
|
|
||||||
|
|
||||||
setContent() {
|
setContent() {
|
||||||
const tip = this.getTipElement()
|
const tip = this.getTipElement()
|
||||||
|
|
||||||
@@ -125,6 +121,10 @@ class Popover extends Tooltip {
|
|||||||
tip.classList.remove(ClassName.SHOW)
|
tip.classList.remove(ClassName.SHOW)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_addAttachmentClass(attachment) {
|
||||||
|
this.getTipElement().classList.add(`${CLASS_PREFIX}-${attachment}`)
|
||||||
|
}
|
||||||
|
|
||||||
// Private
|
// Private
|
||||||
|
|
||||||
_getContent() {
|
_getContent() {
|
||||||
|
Reference in New Issue
Block a user