diff --git a/js/tooltip.js b/js/tooltip.js index 88ee49eac5..a85d0bd7b1 100644 --- a/js/tooltip.js +++ b/js/tooltip.js @@ -286,11 +286,11 @@ var $tip = this.tip() var e = $.Event('hide.bs.' + this.type) - this.$element.removeAttr('aria-describedby') - function complete() { if (that.hoverState != 'in') $tip.detach() - that.$element.trigger('hidden.bs.' + that.type) + that.$element + .removeAttr('aria-describedby') + .trigger('hidden.bs.' + that.type) } this.$element.trigger(e)