diff options
author | Johann-S <johann.servoire@gmail.com> | 2019-05-12 10:55:29 +0300 |
---|---|---|
committer | Johann-S <johann.servoire@gmail.com> | 2019-05-14 16:28:43 +0300 |
commit | c805aec770d7da67e655cc40e801ca1cbe5a8689 (patch) | |
tree | 532edec76497d1c36f8291368ad80e52a1b0e287 /js | |
parent | 7694a5a70a8c63b05845ac933fbea3ec932eb7aa (diff) |
fix popover arrow by selecting the first element child
Diffstat (limited to 'js')
-rw-r--r-- | js/src/tooltip.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 8a832a9735..7b792bc711 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -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 |