2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03: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
+3 -3
View File
@@ -281,11 +281,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)