From: plusleft <107749872+0xleft@users.noreply.github.com> Date: Sun, 11 Feb 2024 10:06:44 +0000 (+0000) Subject: Update modal.html X-Git-Tag: 1.0.0~9 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=8d75afd30edf9f2662043d330d39371dd682a56f;p=thirdparty%2Fbulma.git Update modal.html --- 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(); } });