+2
-1
changelog
+2
-1
changelog
+2
-1
src/Components/PhotoList.tsx
+2
-1
src/Components/PhotoList.tsx
···
103
103
104
104
scrollToTopActive = true;
105
105
} else if(scrollToTopActive && scroll < photoContainer.height){
106
-
animate(scrollToTop, { opacity: 0, translateY: '-10px', complete: () => scrollToTop.style.display = 'none', easing: 'easeInOutQuad', duration: 100 });
106
+
animate(scrollToTop, { opacity: 0, translateY: '-10px', onComplete: () => scrollToTop.style.display = 'none', easing: 'easeInOutQuad', duration: 100 });
107
+
107
108
scrollToTopActive = false;
108
109
}
109
110