From 0e51fb364104c788708df8962eb7003297a71b62 Mon Sep 17 00:00:00 2001 From: Paul Kendall Date: Fri, 16 Jan 2026 15:31:56 +1300 Subject: [PATCH] Head tracking tab should be available in all wifi modes --- .idea/editor.xml | 346 +++++++++++++++++++++++++++++++++++++++++++++++ html/scan.js | 6 +- 2 files changed, 349 insertions(+), 3 deletions(-) create mode 100644 .idea/editor.xml diff --git a/.idea/editor.xml b/.idea/editor.xml new file mode 100644 index 00000000..8a5949c6 --- /dev/null +++ b/.idea/editor.xml @@ -0,0 +1,346 @@ + + + + + \ No newline at end of file diff --git a/html/scan.js b/html/scan.js index 49e7b777..4ee678be 100644 --- a/html/scan.js +++ b/html/scan.js @@ -124,9 +124,6 @@ function updateConfig(data) { if (!config['aat']) { if (_('rtctab')) _('rtctab').style.display = 'table-cell'; } - if (config['head-tracking']) { - if (_('httab')) _('httab').style.display = 'table-cell'; - } _('ssid').textContent = config.ssid; } else { _('apmode').style.display = 'block'; @@ -136,6 +133,9 @@ function updateConfig(data) { _('connect').style.display = 'none'; } } + if (config['head-tracking']) { + if (_('httab')) _('httab').style.display = 'table-cell'; + } if((!data.stm32 || data.stm32==="no") && _('tx_tab')) { mui.tabs.activate('pane-justified-2'); _('tx_tab').style.display = 'none';