summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/gsec.js1
-rw-r--r--js/setup-storage.js2
2 files changed, 1 insertions, 2 deletions
diff --git a/js/gsec.js b/js/gsec.js
index 097393a..28aca68 100644
--- a/js/gsec.js
+++ b/js/gsec.js
@@ -178,7 +178,6 @@ class gsec {
var subjectStrings = subFields[2].innerHTML.split("<br />");
for(const subjectString of subjectStrings) {
// todo: https://github.com/sijanec/gimsisextclient/blob/master/main.php#L270
- var subjectName =
}
}
})
diff --git a/js/setup-storage.js b/js/setup-storage.js
index 8a6604c..0fe26d2 100644
--- a/js/setup-storage.js
+++ b/js/setup-storage.js
@@ -29,7 +29,7 @@ async function setupStorage(force = false) {
localforage.setItem("chosenLang", "en")
];
await localforage.clear();
- await Promises.all(promises_first_install);
+ await Promise.all(promises_first_install);
console.log("[setupStorage] user not logged in: set up whole database");
}
}