This commit is contained in:
Thomas Chartron 2021-11-13 12:50:30 +01:00
parent bf73c9222e
commit 0773f24c06

View file

@ -1 +1 @@
function activeTocItem(){console.log(scroll_position)}document.addEventListener("DOMContentLoaded",function(){document.getElementById("navbar").clientHeight,document.getElementById("toc"),window.scrollY;window.addEventListener("scroll",activeTocItem)});
function activeTocItem(){var e=window.scrollY;console.log(e)}document.addEventListener("DOMContentLoaded",function(){document.getElementById("navbar").clientHeight,document.getElementById("toc");window.addEventListener("scroll",activeTocItem)});