diff --git a/js/src/popover.js b/js/src/popover.js index e17704d45d..4f8aeeb2c3 100644 --- a/js/src/popover.js +++ b/js/src/popover.js @@ -116,12 +116,12 @@ class Popover extends Tooltip { tip.classList.remove(CLASS_NAME_FADE, CLASS_NAME_SHOW) } + // Private + _addAttachmentClass(attachment) { this.getTipElement().classList.add(`${CLASS_PREFIX}-${attachment}`) } - // Private - _getContent() { return this.element.getAttribute('data-content') || this.config.content