1
0
mirror of https://git.topisto.net/tibo/template.git synced 2026-03-31 23:49:11 +00:00

202511232100

This commit is contained in:
Thibaud
2025-11-23 21:00:51 +01:00
parent 525939e44b
commit 72c551a82d
6 changed files with 388 additions and 63 deletions

View File

@@ -38,7 +38,6 @@ function consoleLog(_id, _visible) {
}
}
function scrollToElement(elementSelector) {
let element = document.querySelector(elementSelector);
if (element) element.scrollIntoView({ behavior: 'smooth' });
@@ -74,7 +73,9 @@ function beforeNavVisibility(_visible) {
}
}
/*
addIntersectionObserverEntry("before_header", beforeHeaderVisibility);
addIntersectionObserverEntry("after_header", afterHeaderVisibility);
addIntersectionObserverEntry("before_nav", beforeNavVisibility);
*/