Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhrawat05 authored Jun 28, 2024
1 parent 208eade commit efbedf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -962,4 +962,4 @@ document.querySelectorAll('.elem2').forEach(function(el) {
// // }

// });
// });
// });

0 comments on commit efbedf5

Please sign in to comment.