mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-17 05:00:24 +00:00
fix arrow popover (#29115)
This commit is contained in:
parent
b2ae6a6a94
commit
e48e498bf4
1 changed files with 4 additions and 4 deletions
|
|
@ -105,10 +105,6 @@ class Popover extends Tooltip {
|
|||
return this.getTitle() || this._getContent()
|
||||
}
|
||||
|
||||
addAttachmentClass(attachment) {
|
||||
this.getTipElement().classList.add(`${CLASS_PREFIX}-${attachment}`)
|
||||
}
|
||||
|
||||
setContent() {
|
||||
const tip = this.getTipElement()
|
||||
|
||||
|
|
@ -125,6 +121,10 @@ class Popover extends Tooltip {
|
|||
tip.classList.remove(ClassName.SHOW)
|
||||
}
|
||||
|
||||
_addAttachmentClass(attachment) {
|
||||
this.getTipElement().classList.add(`${CLASS_PREFIX}-${attachment}`)
|
||||
}
|
||||
|
||||
// Private
|
||||
|
||||
_getContent() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue