0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

fix popover arrow by selecting the first element child

This commit is contained in:
Johann-S 2019-05-12 09:55:29 +02:00
parent 7694a5a70a
commit c805aec770

View File

@ -111,8 +111,7 @@ const ClassName = {
}
const Selector = {
TOOLTIP_INNER: '.tooltip-inner',
TOOLTIP_ARROW: '.tooltip-arrow'
TOOLTIP_INNER: '.tooltip-inner'
}
const Trigger = {
@ -310,7 +309,7 @@ class Tooltip {
behavior: this.config.fallbackPlacement
},
arrow: {
element: Selector.TOOLTIP_ARROW
element: `.${this.constructor.NAME}-arrow`
},
preventOverflow: {
boundariesElement: this.config.boundary