Remove orphaned receiver count section from WebSDR sidebar

The Receiver Count section had no <h3> so it didn't get collapsible
panel styling, rendering as a small out-of-place rectangle. The count
is already shown in the main receiver list panel so this was redundant.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-02-07 14:38:07 +00:00
parent d05144bdb3
commit 70e9611f02
2 changed files with 0 additions and 10 deletions

View File

@@ -92,8 +92,6 @@ function searchReceivers(refresh) {
const countEl = document.getElementById('websdrReceiverCount'); const countEl = document.getElementById('websdrReceiverCount');
if (countEl) countEl.textContent = `${websdrReceivers.length} found`; if (countEl) countEl.textContent = `${websdrReceivers.length} found`;
const sidebarCount = document.getElementById('websdrSidebarCount');
if (sidebarCount) sidebarCount.textContent = websdrReceivers.length;
} }
}) })
.catch(err => console.error('[WEBSDR] Search error:', err)); .catch(err => console.error('[WEBSDR] Search error:', err));

View File

@@ -67,12 +67,4 @@
<div style="color: var(--text-muted); text-align: center; padding: 10px;">Loading...</div> <div style="color: var(--text-muted); text-align: center; padding: 10px;">Loading...</div>
</div> </div>
</div> </div>
<!-- Receiver Count -->
<div class="section" style="margin-top: 12px;">
<div style="display: flex; justify-content: space-between; align-items: center;">
<span style="font-size: 10px; color: var(--text-muted); text-transform: uppercase;">Receivers</span>
<span id="websdrSidebarCount" style="font-size: 11px; color: var(--accent-cyan);">0</span>
</div>
</div>
</div> </div>