mirror of https://github.com/twbs/bootstrap.git
Merge pull request #11496 from satazor/patch-1
Clear timeout on destroy.
This commit is contained in:
commit
bf3c525d05
|
@ -362,6 +362,7 @@
|
|||
}
|
||||
|
||||
Tooltip.prototype.destroy = function () {
|
||||
clearTimeout(this.timeout);
|
||||
this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue