From: Heinrich Fenkart Date: Fri, 25 Jul 2014 16:33:43 +0000 (+0200) Subject: Remove `aria-describedby` attribute later X-Git-Tag: v3.3.0~184^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dca8afa333f47dcdaf44162d66a0ac18f9ea126b;p=thirdparty%2Fbootstrap.git Remove `aria-describedby` attribute later Fixes #14241 --- diff --git a/js/tooltip.js b/js/tooltip.js index 0758b07eef..8a3c2b3469 100644 --- a/js/tooltip.js +++ b/js/tooltip.js @@ -281,11 +281,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)