diff options
| author | Heinrich Fenkart <[email protected]> | 2014-07-25 18:33:43 +0200 |
|---|---|---|
| committer | Heinrich Fenkart <[email protected]> | 2014-08-04 19:21:49 +0200 |
| commit | dca8afa333f47dcdaf44162d66a0ac18f9ea126b (patch) | |
| tree | e707a0b22b515e613e4695263cbaa8ec38617c3b | |
| parent | 14e8ec2514c5bc342a638f0b1f2d3518b6a72e85 (diff) | |
| download | bootstrap-dca8afa333f47dcdaf44162d66a0ac18f9ea126b.tar.xz bootstrap-dca8afa333f47dcdaf44162d66a0ac18f9ea126b.zip | |
Remove `aria-describedby` attribute later
Fixes #14241
| -rw-r--r-- | js/tooltip.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tooltip.js b/js/tooltip.js index 0758b07ee..8a3c2b346 100644 --- a/js/tooltip.js +++ b/js/tooltip.js @@ -281,11 +281,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) |
