aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2019-07-24 09:53:58 +0200
committerXhmikosR <[email protected]>2019-07-24 10:53:58 +0300
commite48e498bf41c6ea308dedc5025753b2bb50832b4 (patch)
tree852fee685dd669179f70454a2c594cedf5be951a
parentb2ae6a6a94a70a027469fa64723e8268ca66254b (diff)
downloadbootstrap-e48e498bf41c6ea308dedc5025753b2bb50832b4.tar.xz
bootstrap-e48e498bf41c6ea308dedc5025753b2bb50832b4.zip
fix arrow popover (#29115)
-rw-r--r--js/src/popover/popover.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/popover/popover.js b/js/src/popover/popover.js
index c357a6e52..cf4b77649 100644
--- a/js/src/popover/popover.js
+++ b/js/src/popover/popover.js
@@ -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() {