* Browser errors were logged to the console
This commit is contained in:
Aditya Telange 2020-09-17 14:57:20 +05:30
parent d3517dadbf
commit db1ec959aa
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -22,7 +22,9 @@
document.getElementById('menu').scrollLeft = localStorage.getItem("menu-scroll-position");
}
}
{{if in site.Params.mainSections .Type }}
hljs.initHighlightingOnLoad();
{{end }}
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener("click", function (e) {
e.preventDefault();