From bbe4412f4234da823890b13e14e916688449238b Mon Sep 17 00:00:00 2001 From: Honey Date: Wed, 13 May 2026 01:07:49 +0200 Subject: [PATCH] chore: remove unused showSetupError from ui.js (duplicate of _showSetupError in main.js) Co-Authored-By: Claude Sonnet 4.6 --- src/ui.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ui.js b/src/ui.js index ec3cef8..4a9833c 100644 --- a/src/ui.js +++ b/src/ui.js @@ -50,11 +50,6 @@ export function switchSetupTab(t) { document.querySelectorAll('.setup-tab').forEach((el,i) => el.classList.toggle('active', i===(t==='navidrome'?0:1))); document.querySelectorAll('.setup-pane').forEach((el,i) => el.classList.toggle('active', i===(t==='navidrome'?0:1))); } -export function showSetupError(m) { - const el = document.getElementById('setup-error'); - el.textContent = m; el.style.display = 'block'; -} - // ─── SETTINGS ─── export function openSettings() { // Lazy import to avoid circular dep — abs.js imports views.js