[fix](trx-frontend-http): close IIFE before bandplan strip declarations

The spectrum floor/gamma IIFE (line 11507) was missing its closing
`})();`, causing all bandplan strip variables and functions to be
trapped inside the IIFE scope. This made `bandplanRegion`,
`updateBandplanStrip`, and `_bandplanServerDefaultApplied` invisible
to the rest of the file, throwing ReferenceErrors that crashed
`render()` before the frequency display update could run — leaving
the frequency input stuck at its initial "--" placeholder.

https://claude.ai/code/session_01RgKhusmnk7AHEJqn1KHffU
Signed-off-by: Claude <noreply@anthropic.com>
This commit is contained in:
Claude
2026-03-30 05:59:33 +00:00
committed by Stan Grams
parent 64682a900f
commit c3b9d2d6fd
@@ -11577,6 +11577,7 @@ if (spectrumCenterRightBtn) {
if (lastSpectrumData) scheduleSpectrumDraw(); if (lastSpectrumData) scheduleSpectrumDraw();
}); });
} }
})();
// ── Bandplan strip ────────────────────────────────────────────────────────── // ── Bandplan strip ──────────────────────────────────────────────────────────
let bandplanData = null; let bandplanData = null;
@@ -11787,4 +11788,3 @@ function updateBandplanStrip(range) {
lbl.style.display = (frac < -0.1 || frac > 1.05) ? "none" : ""; lbl.style.display = (frac < -0.1 || frac > 1.05) ? "none" : "";
}); });
} }
})();