1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

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

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)