Skip to content

Commit 6014692

Browse files
committed
Arlon lint fix
1 parent f4e3627 commit 6014692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arlon/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ $(document).ready(function () {
3333
//scroll
3434

3535
const animatedElements = document.querySelectorAll(
36-
".swiper-image, .home-citoyen-image-container, .a-la-une"
36+
".swiper-image, .home-citoyen-image-container, .a-la-une",
3737
);
3838

3939
window.addEventListener("scroll", () => {
4040
animatedElements.forEach((img) => {
4141
const rect = img.getBoundingClientRect();
4242
const progress = Math.min(
4343
Math.max(1 - rect.top / window.innerHeight, 0),
44-
1
44+
1,
4545
);
4646
const translate = -70 * progress; // monte jusqu’à -10px
4747
const rotate = 30 * progress; // tourne jusqu’à 10deg

0 commit comments

Comments
 (0)