mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Prettified Code!
This commit is contained in:
parent
459bc56648
commit
6a7ac68e6e
1 changed files with 10 additions and 11 deletions
|
@ -147,8 +147,6 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
"user_info_comments",
|
||||
];
|
||||
|
||||
|
||||
|
||||
users
|
||||
.find({
|
||||
selector: {
|
||||
|
@ -162,7 +160,9 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
document.getElementById(elem).value = result.docs[0][elem];
|
||||
});
|
||||
} else {
|
||||
console.log(config.mycall + " not found in user db - creating new entry")
|
||||
console.log(
|
||||
config.mycall + " not found in user db - creating new entry"
|
||||
);
|
||||
// add initial entry for own callsign and grid
|
||||
let obj = new Object();
|
||||
obj.user_info_callsign = config.mycall;
|
||||
|
@ -171,7 +171,6 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
|
||||
document.getElementById("user_info_callsign").value = config.mycall;
|
||||
document.getElementById("user_info_gridsquare").value = config.mygrid;
|
||||
|
||||
}
|
||||
})
|
||||
.catch(function (err) {
|
||||
|
|
Loading…
Reference in a new issue