From: Johann-S Date: Wed, 24 Jul 2019 07:53:58 +0000 (+0200) Subject: fix arrow popover (#29115) X-Git-Tag: v5.0.0-alpha1~925 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e48e498bf41c6ea308dedc5025753b2bb50832b4;p=thirdparty%2Fbootstrap.git fix arrow popover (#29115) --- diff --git a/js/src/popover/popover.js b/js/src/popover/popover.js index c357a6e526..cf4b776499 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() {