From c721f2fd02613a5f8d5beb3b66a3681542da2048 Mon Sep 17 00:00:00 2001 From: sijanec Date: Wed, 20 May 2020 16:25:59 +0200 Subject: maybe --- dist/js/app.js | 2 +- dist/js/login.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'dist/js') diff --git a/dist/js/app.js b/dist/js/app.js index bcaa127..5eb611a 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 = "0a045055fbfa8a5228f1deeca9d85a4b6a7b0fca"; +const previous_commit = "3b61e8681d5db498e76fa1c843062a0a7a403c64"; if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js") diff --git a/dist/js/login.js b/dist/js/login.js index fe56c53..ab59058 100644 --- a/dist/js/login.js +++ b/dist/js/login.js @@ -27,7 +27,11 @@ function login() { try { gsecInstance = new gsec(); } catch (error) { - $.getScript("/js/gsec.js"); + $.ajax({ + url: 'js/gsec.js?ajaxload', + async: false, + dataType: "script", + }); try { gsecInstance = new gsec(); } catch (error) { -- cgit v1.2.3