Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-06-26 18:40:54 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-07-12 15:52:25 +0300
commita67231ae1c352c37a278ac501d7ffb91b1eb20c7 (patch)
tree2539b14dd826b1be08174865b0ec1e45a4d564cb /js
parent0eb120eea061795431699f8b0b31dc4c57203d8c (diff)
Move function
Diffstat (limited to 'js')
-rw-r--r--js/src/popover.js4
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