diff options
Diffstat (limited to 'js/dist/tooltip.js')
-rw-r--r-- | js/dist/tooltip.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/js/dist/tooltip.js b/js/dist/tooltip.js index aa1a5b3ed6..3a27c1745f 100644 --- a/js/dist/tooltip.js +++ b/js/dist/tooltip.js @@ -568,10 +568,13 @@ var Tooltip = function ($) { } }; - _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(data) { + _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(popperData) { + var popperInstance = popperData.instance; + this.tip = popperInstance.popper; + this._cleanTipClass(); - this.addAttachmentClass(this._getAttachment(data.placement)); + this.addAttachmentClass(this._getAttachment(popperData.placement)); }; _proto._fixTransition = function _fixTransition() { |