summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-06-04 16:20:22 +0200
committerrstular <rok@stular.eu>2020-06-04 16:23:44 +0200
commit7e1a97e4f1943e458c806bf19cac556174a51319 (patch)
tree35f254e89efa3ce68e059d43b64f5de61ef2d809 /assets
parentCode-style fixes (diff)
downloadbeziapp-7e1a97e4f1943e458c806bf19cac556174a51319.tar
beziapp-7e1a97e4f1943e458c806bf19cac556174a51319.tar.gz
beziapp-7e1a97e4f1943e458c806bf19cac556174a51319.tar.bz2
beziapp-7e1a97e4f1943e458c806bf19cac556174a51319.tar.lz
beziapp-7e1a97e4f1943e458c806bf19cac556174a51319.tar.xz
beziapp-7e1a97e4f1943e458c806bf19cac556174a51319.tar.zst
beziapp-7e1a97e4f1943e458c806bf19cac556174a51319.zip
Diffstat (limited to 'assets')
-rw-r--r--assets/js/login.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/js/login.js b/assets/js/login.js
index ab59058..fc6dfcd 100644
--- a/assets/js/login.js
+++ b/assets/js/login.js
@@ -33,7 +33,7 @@ function login() {
dataType: "script",
});
try {
- gsecInstance = new gsec();
+ gsecInstance = new gsec();
} catch (error) {
alert(D("browserNotSupported"));
}
@@ -45,6 +45,7 @@ function login() {
localforage.setItem("username", username),
localforage.setItem("password", password)
];
+ read_val(0);
Promise.all(promises_to_run).then(function () {
window.location.replace("/pages/timetable.html");
});