Fix function call
This commit is contained in:
@@ -33,7 +33,7 @@ export const animateIn = () => {
|
||||
easing: 'easeOutQuart',
|
||||
duration: animDuration
|
||||
})
|
||||
window.addEventListener('scroll', fn.debounce(event => {
|
||||
window.addEventListener('scroll', debounce(event => {
|
||||
translate.seek(translate.duration * (window.scrollY / 1000))
|
||||
}), 50)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user