mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-23 16:00:23 +00:00
fix popover arrow by selecting the first element child
This commit is contained in:
parent
7694a5a70a
commit
c805aec770
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Reference in a new issue