1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-10 23:54:08 +02:00

update click state when hiding so can be shown again by trigger. fixes #16732

This commit is contained in:
Max Beatty
2016-12-26 16:21:27 -08:00
committed by Mark Otto
parent 8a3d0d344b
commit aa7f95fd77
2 changed files with 25 additions and 0 deletions

View File

@@ -358,6 +358,10 @@ const Tooltip = (($) => {
$(tip).removeClass(ClassName.SHOW)
this._activeTrigger[Trigger.CLICK] = false
this._activeTrigger[Trigger.FOCUS] = false
this._activeTrigger[Trigger.HOVER] = false
if (Util.supportsTransitionEnd() &&
$(this.tip).hasClass(ClassName.FADE)) {
this._isTransitioning = true