mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Prettified Code!
This commit is contained in:
parent
966289c744
commit
6195538fff
1 changed files with 6 additions and 5 deletions
|
@ -2168,7 +2168,8 @@ ipcRenderer.on("action-update-daemon-state", (event, arg) => {
|
|||
document.getElementById("hamlib_deviceport").add(option);
|
||||
}
|
||||
// set device from config if available
|
||||
document.getElementById("hamlib_deviceport").value = config.hamlib_deviceport;
|
||||
document.getElementById("hamlib_deviceport").value =
|
||||
config.hamlib_deviceport;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2185,10 +2186,10 @@ ipcRenderer.on("action-update-daemon-state", (event, arg) => {
|
|||
for (i = 0; i < arg.serial_devices.length; i++) {
|
||||
var option = document.createElement("option");
|
||||
option.text =
|
||||
arg.serial_devices[i]["port"] +
|
||||
" -- " +
|
||||
arg.serial_devices[i]["description"];
|
||||
option.value = arg.serial_devices[i]["port"];
|
||||
arg.serial_devices[i]["port"] +
|
||||
" -- " +
|
||||
arg.serial_devices[i]["description"];
|
||||
option.value = arg.serial_devices[i]["port"];
|
||||
document.getElementById("hamlib_ptt_port").add(option);
|
||||
}
|
||||
// set device from config if available
|
||||
|
|
Loading…
Reference in a new issue