diff --git a/static/js/page.js b/static/js/page.js index 82d701a..5c5ca97 100644 --- a/static/js/page.js +++ b/static/js/page.js @@ -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)}); \ No newline at end of file +function activeTocItem(){var e=window.scrollY;console.log(e)}document.addEventListener("DOMContentLoaded",function(){document.getElementById("navbar").clientHeight,document.getElementById("toc");window.addEventListener("scroll",activeTocItem)}); \ No newline at end of file