Manual changes saved
Browse files
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',
|
| 37 |
-
animateCounter('stat2',
|
| 38 |
-
animateCounter('stat3',
|
| 39 |
-
animateCounter('stat4',
|
| 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 |
});
|