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:
parent
7694a5a70a
commit
c805aec770
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user