Fix for radio info div

This commit is contained in:
Szymon Porwolik
2025-11-25 18:06:48 +01:00
parent a75dc9869c
commit 9f7b6f29da

View File

@@ -2015,6 +2015,8 @@ $(function() {
btn.removeClass('btn-success').addClass('btn-secondary');
isCatTrackingEnabled = false;
window.isCatTrackingEnabled = false;
window.isFrequencyMarkerEnabled = false;
catState = 'off';
// Show offline status instead of just hiding
if (typeof window.displayOfflineStatus === 'function') {
@@ -2029,6 +2031,12 @@ $(function() {
// Unlock table sorting
unlockTableSorting();
// Clear frequency gradient colors and purple mode indicators
clearFrequencyGradientColors();
// Reset button visual to OFF state
updateButtonVisual('off');
// Reset band filter to 'All' and fetch all bands
const currentBands = $("#band").val() || [];
if (currentBands.length !== 1 || currentBands[0] !== 'All') {