wip
This commit is contained in:
1 parent
28e7f03313
commit
208a27266a
2 files changed
+3
-1
No files matched your search
@@ -22,8 +22,10 @@ function animate(element, end, duration = 500, fixtotwo) {
|
||||
const currentCount = Math.round(end * easedProgress * 100) / 100;
|
||||
|
||||
if (fixtotwo) {
|
||||
console.log("fix2");
|
||||
element.innerHTML = currentCount.toFixed(2);
|
||||
} else {
|
||||
console.log("fixNone");
|
||||
element.innerHTML = currentCount;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user