Co-authored-by: Rob Pilling <robpilling@gmail.com>
master
Gordon Williams 2023-11-24 08:32:06 +00:00 committed by GitHub
parent acd01ce4bc
commit ed23ccfadc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
console.log("Loading settings from BangleJs...");
try {
Util.readStorageJSON("owmweather.json", settings=>{
if("settings){
if(settings){
console.log("Got settings", settings);
document.getElementById("apikey").value = settings.apikey;
console.log("Loaded apikey from BangleJs.");