mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 16:14:04 +02:00
Merge pull request #11496 from satazor/patch-1
Clear timeout on destroy.
This commit is contained in:
@@ -362,6 +362,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Tooltip.prototype.destroy = function () {
|
Tooltip.prototype.destroy = function () {
|
||||||
|
clearTimeout(this.timeout);
|
||||||
this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
|
this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user