Remove `aria-describedby` attribute later

Fixes #14241
This commit is contained in:
Heinrich Fenkart 2014-07-25 18:33:43 +02:00
parent 14e8ec2514
commit dca8afa333
1 changed files with 3 additions and 3 deletions

View File

@ -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)