Prettified Code!

This commit is contained in:
DJ2LS 2023-02-12 07:44:27 +00:00 committed by GitHub Action
parent 5e8008324c
commit d0c8af2623
2 changed files with 548 additions and 568 deletions

View file

@ -421,7 +421,6 @@ window.addEventListener("DOMContentLoaded", () => {
"hidden"; "hidden";
document.getElementById("radio-control-disabled").style.display = "none"; document.getElementById("radio-control-disabled").style.display = "none";
document.getElementById("radio-control-network").style.visibility = document.getElementById("radio-control-network").style.visibility =
"hidden"; "hidden";
document.getElementById("radio-control-network").style.display = "none"; document.getElementById("radio-control-network").style.display = "none";
@ -437,8 +436,6 @@ window.addEventListener("DOMContentLoaded", () => {
"radio-control-switch-rigctld-info" "radio-control-switch-rigctld-info"
).checked = false; ).checked = false;
document.getElementById("radio-control-network").style.display = "none"; document.getElementById("radio-control-network").style.display = "none";
document.getElementById("radio-control-network").style.visibility = document.getElementById("radio-control-network").style.visibility =
"hidden"; "hidden";
@ -519,13 +516,10 @@ window.addEventListener("DOMContentLoaded", () => {
document.getElementById("radio-control-disabled").style.visibility = document.getElementById("radio-control-disabled").style.visibility =
"visible"; "visible";
document.getElementById("radio-control-network").style.display = "none"; document.getElementById("radio-control-network").style.display = "none";
document.getElementById("radio-control-network").style.visibility = document.getElementById("radio-control-network").style.visibility =
"hidden"; "hidden";
document.getElementById("radio-control-rigctld-info").style.visibility = document.getElementById("radio-control-rigctld-info").style.visibility =
"hidden"; "hidden";
document.getElementById("radio-control-rigctld-info").style.display = document.getElementById("radio-control-rigctld-info").style.display =
@ -535,8 +529,6 @@ window.addEventListener("DOMContentLoaded", () => {
fs.writeFileSync(configPath, JSON.stringify(config, null, 2)); fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
}); });
// // radio settings 'network' event listener // // radio settings 'network' event listener
document document
.getElementById("radio-control-switch-network") .getElementById("radio-control-switch-network")

File diff suppressed because it is too large Load diff