aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob <[email protected]>2013-12-26 18:18:09 -0800
committerJacob <[email protected]>2013-12-26 18:18:09 -0800
commitbf3c525d0578c03a946af18c871f9690e7a72ec7 (patch)
tree8adf8e67b49b69a15c877f78fa5daf563c7aee8a
parent34fb5767cbe94bd379e792e8236a0f8f41d46545 (diff)
parent926b940e8674a7ebeef085af1860a78fcaaf813d (diff)
downloadbootstrap-bf3c525d0578c03a946af18c871f9690e7a72ec7.tar.xz
bootstrap-bf3c525d0578c03a946af18c871f9690e7a72ec7.zip
Merge pull request #11496 from satazor/patch-1
Clear timeout on destroy.
-rw-r--r--js/tooltip.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tooltip.js b/js/tooltip.js
index 4c0e4bdcd..99dbc68fc 100644
--- a/js/tooltip.js
+++ b/js/tooltip.js
@@ -362,6 +362,7 @@
}
Tooltip.prototype.destroy = function () {
+ clearTimeout(this.timeout);
this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
}