diff options
| author | Phil Hughes <[email protected]> | 2014-09-03 13:11:40 +0100 |
|---|---|---|
| committer | Heinrich Fenkart <[email protected]> | 2014-10-26 04:38:18 +0100 |
| commit | 9740d8bb697dadf7dba1c271cce87d0d90c7ac62 (patch) | |
| tree | 2c3ddbba172977ece1f60a4504a78367b50ce247 /js/tooltip.js | |
| parent | 783eced7abfced5f021e9792405b4cfd6a829bb6 (diff) | |
| download | bootstrap-9740d8bb697dadf7dba1c271cce87d0d90c7ac62.tar.xz bootstrap-9740d8bb697dadf7dba1c271cce87d0d90c7ac62.zip | |
Fix tooltip occasionally not hiding when using a hide delay
Fixes #14375.
Closes #14519 by merging it.
Diffstat (limited to 'js/tooltip.js')
| -rw-r--r-- | js/tooltip.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/tooltip.js b/js/tooltip.js index 08d22971f..6af0e7d72 100644 --- a/js/tooltip.js +++ b/js/tooltip.js @@ -207,8 +207,11 @@ this.applyPlacement(calculatedOffset, placement) var complete = function () { + var prevHoverState = that.hoverState that.$element.trigger('shown.bs.' + that.type) that.hoverState = null + + if (prevHoverState == 'out') that.leave(that) } $.support.transition && this.$tip.hasClass('fade') ? |
