1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

rm redundant aria-hidden usage from Modals; fixes #16020

This commit is contained in:
Chris Rebert
2015-03-25 18:06:47 -07:00
parent 2f3076f20a
commit 6c5e7dfce1
4 changed files with 14 additions and 45 deletions

View File

@@ -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')