0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01: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)