diff --git a/src/static/js/app.js b/src/static/js/app.js index 92c9500..510c23d 100644 --- a/src/static/js/app.js +++ b/src/static/js/app.js @@ -503,6 +503,9 @@ const App = { const isOpen = userDropdown.classList.toggle('open'); userBtn.setAttribute('aria-expanded', isOpen); }); + userDropdown.addEventListener('click', (e) => { + e.stopPropagation(); + }); document.addEventListener('click', () => { userDropdown.classList.remove('open'); userBtn.setAttribute('aria-expanded', 'false');