summaryrefslogblamecommitdiffstats
path: root/dist/js/changelog.js
blob: d01d3b5cc607247b105c9fbb3a9b0e65521d08b8 (plain) (tree)
1
2
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,{});});