Skip to content

Commit

Permalink
Merge pull request #11496 from satazor/patch-1
Browse files Browse the repository at this point in the history
Clear timeout on destroy.
  • Loading branch information
fat committed Dec 27, 2013
2 parents 34fb576 + 926b940 commit bf3c525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@
}

Tooltip.prototype.destroy = function () {
clearTimeout(this.timeout);
this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
}

Expand Down

0 comments on commit bf3c525

Please sign in to comment.