diff --git a/nuxt-frontend/utils.js b/nuxt-frontend/utils.js index d953a9969..c058c9a23 100644 --- a/nuxt-frontend/utils.js +++ b/nuxt-frontend/utils.js @@ -21,7 +21,7 @@ function elementInViewPort(refs) { function handleAnimationOnScroll(data) { if (data && data.name) { - const rect = data.name.getBoundingClientRect(); + const rect = data.name.getBoundingClientRect; if (rect) { const { top, bottom } = rect;