mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01: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
@ -352,6 +352,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