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:
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