summaryrefslogtreecommitdiffstats
path: root/dist/js/login.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dist/js/login.js6
1 files changed, 5 insertions, 1 deletions
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) {