mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-26 05:19:15 +02:00
Fix tooltip occasionally not hiding when using a hide delay
Fixes #14375. Closes #14519 by merging it.
This commit is contained in:
committed by
Heinrich Fenkart
parent
783eced7ab
commit
9740d8bb69
@@ -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') ?
|
||||
|
Reference in New Issue
Block a user