1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-11 16:14:04 +02:00

Merge pull request #11496 from satazor/patch-1

Clear timeout on destroy.
This commit is contained in:
Jacob
2013-12-26 18:18:09 -08:00

View File

@@ -362,6 +362,7 @@
} }
Tooltip.prototype.destroy = function () { Tooltip.prototype.destroy = function () {
clearTimeout(this.timeout);
this.hide().$element.off('.' + this.type).removeData('bs.' + this.type) this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
} }