Skip to content

Commit

Permalink
Merge pull request #14242 from hnrch02/remove-aria-describedby-later
Browse files Browse the repository at this point in the history
Remove `aria-describedby` attribute later
  • Loading branch information
hnrch02 committed Sep 8, 2014
2 parents e4b55de + dca8afa commit 859ddc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 859ddc1

Please sign in to comment.