1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-23 18:40:03 +00:00

Move function

This commit is contained in:
XhmikosR 2020-06-26 18:40:54 +03:00
parent 0eb120eea0
commit a67231ae1c

View File

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