aboutsummaryrefslogtreecommitdiff
path: root/js/modal.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-03-25 18:40:44 -0700
committerChris Rebert <[email protected]>2015-03-25 18:40:44 -0700
commitcaa84299ec9cc458265b853e9e925def3eb070d7 (patch)
tree175b5c3e1b43c3fcfcd6fe09f00994bc851d1f6c /js/modal.js
parentd6714d1383316e449e6766d038bd118039dfd617 (diff)
parent6c5e7dfce19425af6e646c8b4578d15f2512d4ad (diff)
downloadbootstrap-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.js5
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')