From 8d75afd30edf9f2662043d330d39371dd682a56f Mon Sep 17 00:00:00 2001 From: plusleft <107749872+0xleft@users.noreply.github.com> Date: Sun, 11 Feb 2024 10:06:44 +0000 Subject: [PATCH] Update modal.html --- docs/documentation/components/modal.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation/components/modal.html b/docs/documentation/components/modal.html index fd1e1ff0f..c40d3ee32 100644 --- a/docs/documentation/components/modal.html +++ b/docs/documentation/components/modal.html @@ -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(); } }); -- 2.47.2