Compare commits

..

1 Commits

Author SHA1 Message Date
Cory LaViska
362ea5e319 scroll on reload is no longer a crapshoot 2025-06-02 15:31:17 -04:00

View File

@@ -48,7 +48,7 @@ window.addEventListener('scroll', updateScrollClass);
window.addEventListener('turbo:render', updateScrollClass);
updateScrollClass();
// Restore scroll position after components are defined
// Restore scroll position after components are definedAdd commentMore actions
allDefined().then(() => {
const navigationType = getNavigationType();
const key = `wa-scroll-y-[${location.pathname}]`;