From 424a4f5377823b8bc55d4d9427ad6914dbd08c49 Mon Sep 17 00:00:00 2001 From: Brian Krabach Date: Mon, 30 Mar 2026 03:27:47 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20settings=20modal=20dismiss=20=E2=80=94?= =?UTF-8?q?=20add=20close=20button,=20fix=20backdrop=20click?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- muxplex/frontend/app.js | 1 + muxplex/frontend/index.html | 4 +++ muxplex/frontend/style.css | 38 ++++++++++++++++++++++++++++- muxplex/tests/test_frontend_html.py | 14 +++++++++++ 4 files changed, 56 insertions(+), 1 deletion(-) diff --git a/muxplex/frontend/app.js b/muxplex/frontend/app.js index d7c2232..1d390a0 100644 --- a/muxplex/frontend/app.js +++ b/muxplex/frontend/app.js @@ -1444,6 +1444,7 @@ function bindStaticEventListeners() { // Settings dialog bindings on($('settings-btn'), 'click', openSettings); on($('settings-btn-expanded'), 'click', openSettings); + on($('settings-close-btn'), 'click', closeSettings); on($('settings-backdrop'), 'click', closeSettings); const settingsDialog = $('settings-dialog'); if (settingsDialog) settingsDialog.addEventListener('cancel', closeSettings); diff --git a/muxplex/frontend/index.html b/muxplex/frontend/index.html index 55ec634..56ca3fb 100644 --- a/muxplex/frontend/index.html +++ b/muxplex/frontend/index.html @@ -78,6 +78,10 @@ +
+

Settings

+ +