diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js index 3c16ca5..7b37a98 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js @@ -632,7 +632,7 @@ function setTheme(theme) { } // Invalidate cached bookmark chip colours so they pick up the new theme palette. if (typeof bmRevision !== "undefined") bmRevision++; - if (typeof scheduleSpectrumDraw === "function") scheduleSpectrumDraw(); + try { if (typeof scheduleSpectrumDraw === "function") scheduleSpectrumDraw(); } catch (_) {} } // ── Style / palette system ────────────────────────────────────────────────────