diff options
| author | Chris Rebert <[email protected]> | 2015-03-25 18:40:44 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-03-25 18:40:44 -0700 |
| commit | caa84299ec9cc458265b853e9e925def3eb070d7 (patch) | |
| tree | 175b5c3e1b43c3fcfcd6fe09f00994bc851d1f6c /js/modal.js | |
| parent | d6714d1383316e449e6766d038bd118039dfd617 (diff) | |
| parent | 6c5e7dfce19425af6e646c8b4578d15f2512d4ad (diff) | |
| download | bootstrap-caa84299ec9cc458265b853e9e925def3eb070d7.tar.xz bootstrap-caa84299ec9cc458265b853e9e925def3eb070d7.zip | |
Merge pull request #16158 from twbs/fix-16020
remove redundant aria-hidden usage from Modals
Diffstat (limited to 'js/modal.js')
| -rw-r--r-- | js/modal.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/js/modal.js b/js/modal.js index b031becfd..0426561af 100644 --- a/js/modal.js +++ b/js/modal.js @@ -90,9 +90,7 @@ that.$element[0].offsetWidth // force reflow } - that.$element - .addClass('in') - .attr('aria-hidden', false) + that.$element.addClass('in') that.enforceFocus() @@ -126,7 +124,6 @@ this.$element .removeClass('in') - .attr('aria-hidden', true) .off('click.dismiss.bs.modal') .off('mouseup.dismiss.bs.modal') |
