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:
commit
bf3c525d05
@ -362,6 +362,7 @@
|
||||
}
|
||||
|
||||
Tooltip.prototype.destroy = function () {
|
||||
clearTimeout(this.timeout);
|
||||
this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user