From efbedf58343ae69b3a46ddb9dcd398d0464451da Mon Sep 17 00:00:00 2001 From: Rishabh <140707297+rishabhrawat05@users.noreply.github.com> Date: Fri, 28 Jun 2024 15:57:22 +0530 Subject: [PATCH] Update script.js --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 4d48d5e..411c393 100644 --- a/script.js +++ b/script.js @@ -8,7 +8,7 @@ function locomotive(){ const locoScroll = new LocomotiveScroll({ el: document.querySelector("#main"), smooth: true, - + smoothMobile:1, }); // each time Locomotive Scroll updates, tell ScrollTrigger to update too (sync positioning) @@ -962,4 +962,4 @@ document.querySelectorAll('.elem2').forEach(function(el) { // // } // }); -// }); \ No newline at end of file +// });