1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 01:55:46 +02: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

View File

@@ -286,11 +286,11 @@
var $tip = this.tip() var $tip = this.tip()
var e = $.Event('hide.bs.' + this.type) var e = $.Event('hide.bs.' + this.type)
this.$element.removeAttr('aria-describedby')
function complete() { function complete() {
if (that.hoverState != 'in') $tip.detach() 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) this.$element.trigger(e)