summaryrefslogtreecommitdiffstats
path: root/assets/js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/login.js3
-rw-r--r--assets/js/messaging.js2
2 files changed, 3 insertions, 2 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");
});
diff --git a/assets/js/messaging.js b/assets/js/messaging.js
index 890da18..0f55e1a 100644
--- a/assets/js/messaging.js
+++ b/assets/js/messaging.js
@@ -587,7 +587,7 @@ function setupEventListeners() {
function getUrlParameter(sParam) {
const url_params = new URLSearchParams(window.location.search);
const found_param = url_params.get(sParam);
- return found_param
+ return found_param;
}
var additionalstufftoaddtomessage = "";