summaryrefslogtreecommitdiffstats
path: root/dist/js/assets/js/jitsi.js
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-06-09 18:34:50 +0200
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-06-09 18:34:50 +0200
commit855d322a78e4575e34500ba0b093f716b8631c30 (patch)
tree55bb7b3726434ea20726a91011fa47e8a918c52d /dist/js/assets/js/jitsi.js
parentMakefile patches (diff)
downloadbeziapp-855d322a78e4575e34500ba0b093f716b8631c30.tar
beziapp-855d322a78e4575e34500ba0b093f716b8631c30.tar.gz
beziapp-855d322a78e4575e34500ba0b093f716b8631c30.tar.bz2
beziapp-855d322a78e4575e34500ba0b093f716b8631c30.tar.lz
beziapp-855d322a78e4575e34500ba0b093f716b8631c30.tar.xz
beziapp-855d322a78e4575e34500ba0b093f716b8631c30.tar.zst
beziapp-855d322a78e4575e34500ba0b093f716b8631c30.zip
Diffstat (limited to 'dist/js/assets/js/jitsi.js')
-rwxr-xr-xdist/js/assets/js/jitsi.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/dist/js/assets/js/jitsi.js b/dist/js/assets/js/jitsi.js
deleted file mode 100755
index 8dd55ab..0000000
--- a/dist/js/assets/js/jitsi.js
+++ /dev/null
@@ -1,20 +0,0 @@
-async function checkLogin() {
- localforage.getItem("logged_in").then(function (value) {
- // This code runs once the value has been loaded
- // from the offline store.
- if (value !== true) {
- window.location.replace("/index.html");
- }
- }).catch(function (err) {
- // This code runs if there were any errors
- console.log(err);
- });
-}
-
-document.addEventListener("DOMContentLoaded", () => {
- checkLogin();
-
- // Setup side menu
- const menus = document.querySelectorAll(".side-menu");
- M.Sidenav.init(menus, { edge: "right", draggable: true });
-});