Update modal.html
This commit is contained in:
parent
3dafc77dfe
commit
8d75afd30e
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
|
||||
// Add a keyboard event to close all modals
|
||||
document.addEventListener('keydown', (event) => {
|
||||
if(e.key === "Escape") {
|
||||
if(event.key === "Escape") {
|
||||
closeAllModals();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue