mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-07 22:40:59 +00:00
Clear timeout on destroy.
Clears the internal timeout on destroy so that hanging timers are not fired.
This commit is contained in:
parent
7545da2e3c
commit
926b940e86
1 changed files with 1 additions and 0 deletions
|
|
@ -352,6 +352,7 @@
|
|||
}
|
||||
|
||||
Tooltip.prototype.destroy = function () {
|
||||
clearTimeout(this.timeout);
|
||||
this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue