mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Update low bandwidth labels
This commit is contained in:
parent
fa0e7e15ac
commit
a3ed906051
2 changed files with 9 additions and 9 deletions
|
@ -344,9 +344,9 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.low_bandwidth_mode == "True") {
|
if (config.low_bandwidth_mode == "True") {
|
||||||
document.getElementById("500HzModeSwitch").checked = true;
|
document.getElementById("250HzModeSwitch").checked = true;
|
||||||
} else {
|
} else {
|
||||||
document.getElementById("500HzModeSwitch").checked = false;
|
document.getElementById("250HzModeSwitch").checked = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.high_graphics == "True") {
|
if (config.high_graphics == "True") {
|
||||||
|
@ -1158,8 +1158,8 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
// enable 500z Switch clicked
|
// enable 500z Switch clicked
|
||||||
document.getElementById("500HzModeSwitch").addEventListener("click", () => {
|
document.getElementById("250HzModeSwitch").addEventListener("click", () => {
|
||||||
if (document.getElementById("500HzModeSwitch").checked == true) {
|
if (document.getElementById("250HzModeSwitch").checked == true) {
|
||||||
config.low_bandwidth_mode = "True";
|
config.low_bandwidth_mode = "True";
|
||||||
} else {
|
} else {
|
||||||
config.low_bandwidth_mode = "False";
|
config.low_bandwidth_mode = "False";
|
||||||
|
@ -1484,7 +1484,7 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
var enable_fft = "False";
|
var enable_fft = "False";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (document.getElementById("500HzModeSwitch").checked == true) {
|
if (document.getElementById("250HzModeSwitch").checked == true) {
|
||||||
var low_bandwidth_mode = "True";
|
var low_bandwidth_mode = "True";
|
||||||
} else {
|
} else {
|
||||||
var low_bandwidth_mode = "False";
|
var low_bandwidth_mode = "False";
|
||||||
|
|
|
@ -3671,17 +3671,17 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="input-group input-group-sm mb-1">
|
<div class="input-group input-group-sm mb-1">
|
||||||
<label class="input-group-text w-50"
|
<label class="input-group-text w-50"
|
||||||
>Enable 563Hz only mode</label
|
>Enable 250Hz only mode</label
|
||||||
>
|
>
|
||||||
<label class="input-group-text w-50">
|
<label class="input-group-text w-50">
|
||||||
<div class="form-check form-switch form-check-inline">
|
<div class="form-check form-switch form-check-inline">
|
||||||
<input
|
<input
|
||||||
class="form-check-input"
|
class="form-check-input"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
id="500HzModeSwitch"
|
id="250HzModeSwitch"
|
||||||
/>
|
/>
|
||||||
<label class="form-check-label" for="500HzModeSwitch"
|
<label class="form-check-label" for="250HzModeSwitch"
|
||||||
>563Hz</label
|
>250Hz</label
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
|
|
Loading…
Reference in a new issue