summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 16:25:59 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 16:25:59 +0200
commitc721f2fd02613a5f8d5beb3b66a3681542da2048 (patch)
tree013c21d052b4f705386e02133f6f223c1f4c2458 /assets
parentProbi, hopefully bo to resl problen (diff)
downloadbeziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar.gz
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar.bz2
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar.lz
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar.xz
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar.zst
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.zip
Diffstat (limited to 'assets')
-rw-r--r--assets/js/login.js6
-rw-r--r--assets/root/sw.js.bvr5
2 files changed, 9 insertions, 2 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) {
diff --git a/assets/root/sw.js.bvr b/assets/root/sw.js.bvr
index 8ba3c05..c3e7988 100644
--- a/assets/root/sw.js.bvr
+++ b/assets/root/sw.js.bvr
@@ -84,7 +84,10 @@ const assets = [
"/js/jitsi.js",
"/pages/chats.html",
"/js/chats.js",
- "/css/bubbles.css"
+ "/css/bubbles.css",
+
+ "/js/gsec.js",
+ "/js/gsec.js?ajaxload"
];
importScripts("/js/lib/localforage.min.js");