aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-06-26 18:40:54 +0300
committerXhmikosR <[email protected]>2020-07-12 15:52:25 +0300
commita67231ae1c352c37a278ac501d7ffb91b1eb20c7 (patch)
tree2539b14dd826b1be08174865b0ec1e45a4d564cb /js
parent0eb120eea061795431699f8b0b31dc4c57203d8c (diff)
downloadbootstrap-a67231ae1c352c37a278ac501d7ffb91b1eb20c7.tar.xz
bootstrap-a67231ae1c352c37a278ac501d7ffb91b1eb20c7.zip
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 e17704d45..4f8aeeb2c 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