0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Merge pull request #14242 from hnrch02/remove-aria-describedby-later

Remove `aria-describedby` attribute later
This commit is contained in:
Heinrich Fenkart 2014-09-08 23:14:50 +02:00
commit 859ddc11fb

View File

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