summaryrefslogtreecommitdiffstats
path: root/js/changelog.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/changelog.js')
-rw-r--r--js/changelog.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/changelog.js b/js/changelog.js
index 9fb9a84..ccc3493 100644
--- a/js/changelog.js
+++ b/js/changelog.js
@@ -1,3 +1,6 @@
+/**
+ * Redirects user to login page if it's not logged int
+ */
async function checkLogin() {
localforage.getItem("logged_in").then(function (value) {
// This code runs once the value has been loaded
@@ -20,5 +23,5 @@ document.addEventListener("DOMContentLoaded", () => {
});
var elems = document.querySelectorAll(".collapsible");
- var instances = M.Collapsible.init(elems, {});
+ M.Collapsible.init(elems, {});
}); \ No newline at end of file