summaryrefslogtreecommitdiffstats
path: root/js/changelog.js
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-20 21:47:41 +0200
committerGitHub <noreply@github.com>2020-05-20 21:47:41 +0200
commit9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2 (patch)
treec96e2c622aeb56000d4736ba1932269f2dfd217b /js/changelog.js
parentMerge pull request #8 from beziapp/dev (diff)
parentMerge branch 'dev' of ssh://github.com/beziapp/beziapp.github.io into dev (diff)
downloadbeziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar
beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar.gz
beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar.bz2
beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar.lz
beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar.xz
beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar.zst
beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.zip
Diffstat (limited to 'js/changelog.js')
-rw-r--r--js/changelog.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/js/changelog.js b/js/changelog.js
deleted file mode 100644
index 9fb9a84..0000000
--- a/js/changelog.js
+++ /dev/null
@@ -1,24 +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 back button
- $("#nav-back-button").click(function () {
- window.location.replace("/pages/about.html");
- });
-
- var elems = document.querySelectorAll(".collapsible");
- var instances = M.Collapsible.init(elems, {});
-}); \ No newline at end of file