[feat](trx-frontend-http): remove rig selector from about page

Use header rig selector as the single point for rig switching. Remove
redundant about page rig selector controls and associated JavaScript
event listeners.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-26 23:46:12 +01:00
parent f716e7ec47
commit 2fe3ee6fc1
2 changed files with 0 additions and 6 deletions
@@ -277,8 +277,6 @@ const loadingTitle = document.getElementById("loading-title");
const loadingSub = document.getElementById("loading-sub");
const headerSigCanvas = document.getElementById("header-sig-canvas");
const themeToggleBtn = document.getElementById("theme-toggle");
const rigSwitchSelect = document.getElementById("rig-switch-select");
const rigSwitchBtn = document.getElementById("rig-switch-btn");
const headerRigSwitchSelect = document.getElementById("header-rig-switch-select");
const headerRigSwitchBtn = document.getElementById("header-rig-switch-btn");
@@ -1182,9 +1180,6 @@ async function switchRigFromSelect(selectEl) {
}
}
if (rigSwitchBtn) {
rigSwitchBtn.addEventListener("click", () => switchRigFromSelect(rigSwitchSelect));
}
if (headerRigSwitchBtn) {
headerRigSwitchBtn.addEventListener("click", () => switchRigFromSelect(headerRigSwitchSelect));
}