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 @@ // Add a keyboard event to close all modals document.addEventListener('keydown', (event) => { - if(e.key === "Escape") { + if(event.key === "Escape") { closeAllModals(); } });