mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Force change of aria-hidden when modal shows or hides
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
bb4acb02bc
commit
61e092e8af
4 changed files with 9 additions and 0 deletions
5
public/js/fix-aria-hidden-for-modals.js
Normal file
5
public/js/fix-aria-hidden-for-modals.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
$(document).on('shown.bs.modal', function (event) {
|
||||
$(event.target).attr('aria-hidden', 'false')
|
||||
}).on('hidden.bs.modal', function (event) {
|
||||
$(event.target).attr('aria-hidden', 'true')
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue