Skip to content

Commit ae9ff5e

Browse files
delete unused code
1 parent 32c924c commit ae9ff5e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

script.js

-4
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ function moveCards(direction) {
9494
if (direction === 'left') {
9595
moveBy = -currentIndex * (cards[0].offsetWidth) - 15*currentIndex; // Calculate how much to move
9696
}
97-
// else {
98-
// moveBy = -currentIndex * (cards[0].offsetWidth) + 25; // Calculate how much to move
99-
100-
// }
10197
}
10298
else {
10399
if (direction === 'right') {

0 commit comments

Comments
 (0)