aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-09-08 23:14:50 +0200
committerHeinrich Fenkart <[email protected]>2014-09-08 23:14:50 +0200
commit859ddc11fb350f985c377474b7727010e7da57a9 (patch)
treec466a6f834b1ef49a1d812a458ca990f9ac94f6a
parente4b55ded5cc5ae4d4cd26deeffb3af3b769f19f1 (diff)
parentdca8afa333f47dcdaf44162d66a0ac18f9ea126b (diff)
downloadbootstrap-859ddc11fb350f985c377474b7727010e7da57a9.tar.xz
bootstrap-859ddc11fb350f985c377474b7727010e7da57a9.zip
Merge pull request #14242 from hnrch02/remove-aria-describedby-later
Remove `aria-describedby` attribute later
-rw-r--r--js/tooltip.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tooltip.js b/js/tooltip.js
index 88ee49eac..a85d0bd7b 100644
--- a/js/tooltip.js
+++ b/js/tooltip.js
@@ -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)