mirror of
https://github.com/smittix/intercept.git
synced 2026-07-15 21:18:09 -07:00
Update index.html
This commit is contained in:
@@ -3243,17 +3243,6 @@
|
|||||||
waterfallPanel.style.display = (waterfallSupported && running) ? 'block' : 'none';
|
waterfallPanel.style.display = (waterfallSupported && running) ? 'block' : 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show shared waterfall controls for supported modes
|
|
||||||
const waterfallControlsSection = document.getElementById('waterfallControlsSection');
|
|
||||||
const waterfallPanel = document.getElementById('waterfallPanel');
|
|
||||||
const waterfallModes = ['pager', 'sensor', 'rtlamr', 'dmr', 'sstv', 'sstv_general', 'listening'];
|
|
||||||
const waterfallSupported = waterfallModes.includes(mode);
|
|
||||||
if (waterfallControlsSection) waterfallControlsSection.style.display = waterfallSupported ? 'block' : 'none';
|
|
||||||
if (waterfallPanel) {
|
|
||||||
const running = (typeof isWaterfallRunning !== 'undefined' && isWaterfallRunning);
|
|
||||||
waterfallPanel.style.display = (waterfallSupported && running) ? 'block' : 'none';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Toggle mode-specific tool status displays
|
// Toggle mode-specific tool status displays
|
||||||
const toolStatusPager = document.getElementById('toolStatusPager');
|
const toolStatusPager = document.getElementById('toolStatusPager');
|
||||||
const toolStatusSensor = document.getElementById('toolStatusSensor');
|
const toolStatusSensor = document.getElementById('toolStatusSensor');
|
||||||
|
|||||||
Reference in New Issue
Block a user