aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorfat <[email protected]>2013-12-23 22:57:39 -0800
committerfat <[email protected]>2013-12-23 22:57:39 -0800
commit1fc08c1973b30a1fc57a241a5bb68566cfc1d981 (patch)
tree4126f19c7460f84d1b940d81751fc5857802cce1 /js
parenta87b150bc771e3bc6e62fd2ca8a4ea938c48e28c (diff)
downloadbootstrap-1fc08c1973b30a1fc57a241a5bb68566cfc1d981.tar.xz
bootstrap-1fc08c1973b30a1fc57a241a5bb68566cfc1d981.zip
fixes #10568 - kill hoverstate info once command has been executed
Diffstat (limited to 'js')
-rw-r--r--js/tooltip.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tooltip.js b/js/tooltip.js
index 38d06bc52..9dfb1ffa1 100644
--- a/js/tooltip.js
+++ b/js/tooltip.js
@@ -177,6 +177,7 @@
var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
this.applyPlacement(calculatedOffset, placement)
+ this.hoverState = null
this.$element.trigger('shown.bs.' + this.type)
}
}
@@ -265,6 +266,7 @@
.emulateTransitionEnd(150) :
complete()
+ this.hoverState = null
this.$element.trigger('hidden.bs.' + this.type)
return this