0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-17 14:54:30 +01: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
commit bf3c525d05

View File

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