mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
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:
@@ -92,8 +92,6 @@ function searchReceivers(refresh) {
|
||||
|
||||
const countEl = document.getElementById('websdrReceiverCount');
|
||||
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));
|
||||
|
||||
@@ -67,12 +67,4 @@
|
||||
<div style="color: var(--text-muted); text-align: center; padding: 10px;">Loading...</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>
|
||||
|
||||
Reference in New Issue
Block a user