From 491782338b58d57ec46574010c3684374af6b77b Mon Sep 17 00:00:00 2001 From: Tim Vasil Date: Mon, 24 Sep 2018 21:03:57 -0400 Subject: [PATCH] PR-7943: Avoid bsTransitionEnd callback if tip is destroyed during "in" animation --- js/tooltip.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/tooltip.js b/js/tooltip.js index 311fceae73cd..4bb6f123f7db 100644 --- a/js/tooltip.js +++ b/js/tooltip.js @@ -487,6 +487,7 @@ this.hide(function () { that.$element.off('.' + that.type).removeData('bs.' + that.type) if (that.$tip) { + that.$tip.off('bsTransitionEnd'); // PR-7943 that.$tip.detach() } that.$tip = null