WIP
This commit is contained in:
@@ -25,3 +25,9 @@ const observer = new IntersectionObserver((entries) => {
|
||||
document.querySelectorAll('.watch-vp').forEach(el => {
|
||||
observer.observe(el);
|
||||
});
|
||||
|
||||
|
||||
document.getElementById("mobile-nav-toggle").addEventListener("click", (e) => {
|
||||
e.preventDefault();
|
||||
document.getElementsByTagName("body")[0].classList.toggle("mobile-nav-open");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user