diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-06-26 18:40:54 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-07-12 15:52:25 +0300 |
commit | a67231ae1c352c37a278ac501d7ffb91b1eb20c7 (patch) | |
tree | 2539b14dd826b1be08174865b0ec1e45a4d564cb /js | |
parent | 0eb120eea061795431699f8b0b31dc4c57203d8c (diff) |
Move function
Diffstat (limited to 'js')
-rw-r--r-- | js/src/popover.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 |