diff --git a/static/js/app.js b/static/js/app.js index ce715d67..5df43ba4 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -242,6 +242,11 @@ function setupUserMenu() { aboutOverlay.classList.remove('show'); } }); + document.addEventListener('keydown', (e) => { + if (e.key === 'Escape' && aboutOverlay.classList.contains('show')) { + aboutOverlay.classList.remove('show'); + } + }); } // Fetch version from backend (centralized in Cargo.toml)