diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
commit | 0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch) | |
tree | e139a90049b158d4eed892d1662ee7f5c358fa31 /wp-includes/js/wplink.js | |
parent | Adding upstream version 6.5.5+dfsg1. (diff) | |
download | wordpress-upstream/6.6.1+dfsg1.tar.xz wordpress-upstream/6.6.1+dfsg1.zip |
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/js/wplink.js')
-rw-r--r-- | wp-includes/js/wplink.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/js/wplink.js b/wp-includes/js/wplink.js index 89adf33..e4708e4 100644 --- a/wp-includes/js/wplink.js +++ b/wp-includes/js/wplink.js @@ -105,6 +105,7 @@ var ed, $body = $( document.body ); + $( '#wpwrap' ).attr( 'aria-hidden', 'true' ); $body.addClass( 'modal-open' ); wpLink.modalOpen = true; @@ -281,6 +282,7 @@ close: function( reset ) { $( document.body ).removeClass( 'modal-open' ); + $( '#wpwrap' ).removeAttr( 'aria-hidden' ); wpLink.modalOpen = false; if ( reset !== 'noReset' ) { |