diff options
author | Mark Otto <markdotto@gmail.com> | 2018-07-12 07:42:55 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2018-07-12 07:42:55 +0300 |
commit | 9e126b26a863505b048bc927c6c6f731d42d2ba4 (patch) | |
tree | bba1247ceb9b3e4c896103762014edc4f4ae7c81 /js/dist/tooltip.js | |
parent | 283ab30164f0f58ffb13063d800b7a2ee686bb8a (diff) |
dist
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() { |