diff options
Diffstat (limited to 'js/src')
| -rw-r--r-- | js/src/tooltip.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 56c1aa0d1..c66e48385 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -660,9 +660,11 @@ const Tooltip = (($) => { } } - _handlePopperPlacementChange(data) { + _handlePopperPlacementChange(popperData) { + const popperInstance = popperData.instance + this.tip = popperInstance.popper this._cleanTipClass() - this.addAttachmentClass(this._getAttachment(data.placement)) + this.addAttachmentClass(this._getAttachment(popperData.placement)) } _fixTransition() { |
