2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

Clear timeout on destroy.

Clears the internal timeout on destroy so that hanging timers are not fired.
This commit is contained in:
André Cruz
2013-11-15 23:33:23 +00:00
parent 7545da2e3c
commit 926b940e86
+1
View File
@@ -352,6 +352,7 @@
}
Tooltip.prototype.destroy = function () {
clearTimeout(this.timeout);
this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
}