Skip to content

Commit

Permalink
Update modal.html
Browse files Browse the repository at this point in the history
  • Loading branch information
0xleft authored and jgthms committed Feb 11, 2024
1 parent 3dafc77 commit 8d75afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/documentation/components/modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@

// Add a keyboard event to close all modals
document.addEventListener('keydown', (event) => {
if(e.key === "Escape") {
if(event.key === "Escape") {
closeAllModals();
}
});
Expand Down

0 comments on commit 8d75afd

Please sign in to comment.