aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-tooltip.js
diff options
context:
space:
mode:
authorJon Stevens <[email protected]>2012-07-20 09:47:12 -0700
committerJon Stevens <[email protected]>2012-07-20 09:47:12 -0700
commit117f65d43108d5d7ff1c5011f0b8b61f7ef3b9dd (patch)
tree8d5df2c52d4993f90fab1706abb0c7cfbe33d3bb /js/bootstrap-tooltip.js
parent2ee9b2717bfd532e93eb6d4037ae7ca7a5436957 (diff)
downloadbootstrap-117f65d43108d5d7ff1c5011f0b8b61f7ef3b9dd.tar.xz
bootstrap-117f65d43108d5d7ff1c5011f0b8b61f7ef3b9dd.zip
on destroy, also hide. issue #3880, pull #4104
Diffstat (limited to 'js/bootstrap-tooltip.js')
-rw-r--r--js/bootstrap-tooltip.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js
index 02f84d470..f22aa8e64 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -236,6 +236,7 @@
}
, destroy: function () {
+ this.hide()
this.$element.off(this.options.ns).removeData('tooltip')
}