User:Chrisenitan/timeless.js

//make page scroll to top on click heading if(document.getElementById("siteSub")){ const fsHeading = document.getElementById("firstHeading") //scroll to title fsHeading.addEventListener("dblclick", function{		window.location.href = "#siteSub"	}) //scroll to content fsHeading.addEventListener("click", function{		window.location.href = "#toc"	}) }