ProjectGenesis commited on
Commit
9fcb860
·
verified ·
1 Parent(s): 109e52f

Promote version 682bd85 to main

Browse files

Promoted commit 682bd85a8457683b08dbec2413c891ab27f51aaa to main branch

Files changed (1) hide show
  1. script.js +4 -4
script.js CHANGED
@@ -47,8 +47,8 @@ document.addEventListener('DOMContentLoaded', () => {
47
  carousel.style.transform = `translateX(${-boxWidth * boxCount}px)`;
48
 
49
  setTimeout(() => {
50
- carousel.style.transitionDuration = '6000ms';
51
- carousel.style.transform = `translateX(${targetPosition}px)`;
52
  }, 10);
53
 
54
  // Final selection
@@ -78,8 +78,8 @@ carousel.style.transform = `translateX(${targetPosition}px)`;
78
  selectedBox.querySelector('.box-lid').style.transform = '';
79
  rollButton.disabled = false;
80
  }, 3000);
81
- }, 6000);
82
- });
83
 
84
  function createCoinBurst(box) {
85
  for (let i = 0; i < 12; i++) {
 
47
  carousel.style.transform = `translateX(${-boxWidth * boxCount}px)`;
48
 
49
  setTimeout(() => {
50
+ carousel.style.transitionDuration = '4000ms';
51
+ carousel.style.transform = `translateX(${targetPosition}px)`;
52
  }, 10);
53
 
54
  // Final selection
 
78
  selectedBox.querySelector('.box-lid').style.transform = '';
79
  rollButton.disabled = false;
80
  }, 3000);
81
+ }, 4000);
82
+ });
83
 
84
  function createCoinBurst(box) {
85
  for (let i = 0; i < 12; i++) {