summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-12 12:54:11 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-12 12:54:11 +0100
commit8bc6e8b0aa0c6543c8dcd64551f859d0965ab104 (patch)
tree46c23d7df16ccb69e2ee1325ec8f369741eec5cf /js
parentunfinished, don't touch (diff)
downloadbeziapp-8bc6e8b0aa0c6543c8dcd64551f859d0965ab104.tar
beziapp-8bc6e8b0aa0c6543c8dcd64551f859d0965ab104.tar.gz
beziapp-8bc6e8b0aa0c6543c8dcd64551f859d0965ab104.tar.bz2
beziapp-8bc6e8b0aa0c6543c8dcd64551f859d0965ab104.tar.lz
beziapp-8bc6e8b0aa0c6543c8dcd64551f859d0965ab104.tar.xz
beziapp-8bc6e8b0aa0c6543c8dcd64551f859d0965ab104.tar.zst
beziapp-8bc6e8b0aa0c6543c8dcd64551f859d0965ab104.zip
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");
}
}