diff options
Diffstat (limited to 'assets/js')
-rw-r--r-- | assets/js/login.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/assets/js/login.js b/assets/js/login.js index fe56c53..ab59058 100644 --- a/assets/js/login.js +++ b/assets/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) { |