aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorMax Beatty <[email protected]>2016-12-26 16:21:27 -0800
committerMark Otto <[email protected]>2016-12-27 14:19:12 -0800
commitaa7f95fd777b5a733bc85c158919d206e05a61b5 (patch)
treeebd8c30addaa1634235871546f8246d5ae6a6341 /js/src
parent8a3d0d344b4eadd78f98809cdf7161b21436b765 (diff)
downloadbootstrap-aa7f95fd777b5a733bc85c158919d206e05a61b5.tar.xz
bootstrap-aa7f95fd777b5a733bc85c158919d206e05a61b5.zip
update click state when hiding so can be shown again by trigger. fixes #16732
Diffstat (limited to 'js/src')
-rw-r--r--js/src/tooltip.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 024035fe4..0c1d381b9 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -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