diff options
Diffstat (limited to 'dist/js/changelog.js')
-rw-r--r-- | dist/js/changelog.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/js/changelog.js b/dist/js/changelog.js new file mode 100644 index 0000000..d01d3b5 --- /dev/null +++ b/dist/js/changelog.js @@ -0,0 +1,3 @@ + +async function checkLogin(){localforage.getItem("logged_in").then(function(value){if(value!==true){window.location.replace("/index.html");}}).catch(function(err){console.log(err);});} +document.addEventListener("DOMContentLoaded",()=>{checkLogin();$("#nav-back-button").click(function(){window.location.replace("/pages/about.html");});var elems=document.querySelectorAll(".collapsible");M.Collapsible.init(elems,{});});
\ No newline at end of file |