From 6c5e7dfce19425af6e646c8b4578d15f2512d4ad Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 25 Mar 2015 18:06:47 -0700 Subject: rm redundant aria-hidden usage from Modals; fixes #16020 --- js/modal.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'js/modal.js') 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') -- cgit v1.2.3