diff options
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")); } |