OShayL commited on
Commit
cb51cc8
·
verified ·
1 Parent(s): 2103c17

Manual changes saved

Browse files
Files changed (1) hide show
  1. script.js +4 -4
script.js CHANGED
@@ -33,10 +33,10 @@ function initCounters() {
33
  const observer = new IntersectionObserver((entries) => {
34
  entries.forEach(entry => {
35
  if (entry.isIntersecting) {
36
- animateCounter('stat1', 2500);
37
- animateCounter('stat2', 500);
38
- animateCounter('stat3', 10000);
39
- animateCounter('stat4', 25000000);
40
  observer.disconnect();
41
  }
42
  });
 
33
  const observer = new IntersectionObserver((entries) => {
34
  entries.forEach(entry => {
35
  if (entry.isIntersecting) {
36
+ animateCounter('stat1', 2200);
37
+ animateCounter('stat2', 307);
38
+ animateCounter('stat3', 16100);
39
+ animateCounter('stat4', 27300000);
40
  observer.disconnect();
41
  }
42
  });