From a901be064c0baf208148d0dd1ac5530285d9968b Mon Sep 17 00:00:00 2001 From: sijanec Date: Wed, 20 May 2020 15:48:10 +0200 Subject: this is also not a fix --- dist/js/app.js | 2 +- dist/js/login.js | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'dist/js') diff --git a/dist/js/app.js b/dist/js/app.js index 6ab1e02..b0ab5bb 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 = "6989c8d5adeed595797c3691eeffa670dfeaf0ce"; +const previous_commit = "0bbebb72ee64d7b33cd8da60c797b4fe1c7b9d60"; if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js") diff --git a/dist/js/login.js b/dist/js/login.js index ca663c2..3094b5e 100644 --- a/dist/js/login.js +++ b/dist/js/login.js @@ -26,7 +26,12 @@ function login() { try { var gsecInstance = new gsec(); } catch (error) { - alert(D("browserNotSupported")); + $.getScript("/js/gsec.js"); + try { + var gsecInstance = new gsec(); + } catch (error) { + alert(D("browserNotSupported")); + } } gsecInstance.login(username, password).then( (value) => { if (typeof value == "string") { -- cgit v1.2.3