summaryrefslogtreecommitdiffstats
path: root/dist/js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 15:57:59 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 15:57:59 +0200
commitc66b002ff05daa130a86c26f0b42af3202ce06ba (patch)
treee65af2ba6c97fe616dcf10e589c4a2c4cfd2c0d3 /dist/js
parentscope error? (diff)
downloadbeziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar.gz
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar.bz2
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar.lz
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar.xz
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar.zst
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.zip
Diffstat (limited to 'dist/js')
-rwxr-xr-xdist/js/app.js2
-rw-r--r--dist/js/login.js5
2 files changed, 4 insertions, 3 deletions
diff --git a/dist/js/app.js b/dist/js/app.js
index b0ab5bb..f45ab3f 100755
--- a/dist/js/app.js
+++ b/dist/js/app.js
@@ -3,7 +3,7 @@
const app_version = "1.0.13-beta";
-const previous_commit = "0bbebb72ee64d7b33cd8da60c797b4fe1c7b9d60";
+const previous_commit = "a078f237a622d6aa01e07199769e427217d79d1c";
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js")
diff --git a/dist/js/login.js b/dist/js/login.js
index 3094b5e..fe56c53 100644
--- a/dist/js/login.js
+++ b/dist/js/login.js
@@ -23,12 +23,13 @@ function setupEventListeners() {
function login() {
let username = $("#username").val();
let password = $("#password").val();
+ var gsecInstance;
try {
- var gsecInstance = new gsec();
+ gsecInstance = new gsec();
} catch (error) {
$.getScript("/js/gsec.js");
try {
- var gsecInstance = new gsec();
+ gsecInstance = new gsec();
} catch (error) {
alert(D("browserNotSupported"));
}