From e3dd78bee2d2e26cc70029f8c7d92324c1b7b847 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 5 Apr 2026 21:38:48 +0000 Subject: [PATCH] fix(ui): replace JS toggle with native
for device manage section --- lightsync/frontend/app.js | 7 ------ lightsync/frontend/index.html | 29 ++++++++++++---------- lightsync/frontend/style.css | 45 +++++++++++++++++++---------------- 3 files changed, 41 insertions(+), 40 deletions(-) diff --git a/lightsync/frontend/app.js b/lightsync/frontend/app.js index c999f60..19e211b 100644 --- a/lightsync/frontend/app.js +++ b/lightsync/frontend/app.js @@ -115,13 +115,6 @@ function escapeHtml(str) { loadDevices(); -document.getElementById("devices-manage-toggle").addEventListener("click", () => { - const panel = document.getElementById("devices-panel"); - const btn = document.getElementById("devices-manage-toggle"); - const active = panel.classList.toggle("manage-active"); - btn.classList.toggle("active", active); -}); - document.getElementById("add-device-form").addEventListener("submit", async (e) => { e.preventDefault(); const form = e.target; diff --git a/lightsync/frontend/index.html b/lightsync/frontend/index.html index b3ea4fb..eb8f2e6 100644 --- a/lightsync/frontend/index.html +++ b/lightsync/frontend/index.html @@ -21,22 +21,25 @@