diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-05-20 15:57:59 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-05-20 15:57:59 +0200 |
commit | c66b002ff05daa130a86c26f0b42af3202ce06ba (patch) | |
tree | e65af2ba6c97fe616dcf10e589c4a2c4cfd2c0d3 /dist/js | |
parent | scope error? (diff) | |
download | beziapp-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-x | dist/js/app.js | 2 | ||||
-rw-r--r-- | dist/js/login.js | 5 |
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")); } |