mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-02-11 18:58:06 -05:00
fix: for ebb9eb4043b3a5f1ced0f41a923bb4c5a468ca27
* Browser errors were logged to the console
This commit is contained in:
parent
d3517dadbf
commit
db1ec959aa
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user