fix animation

This commit is contained in:
salam committed 2026-08-16 11:47:49 +02:00
1 parent f0bbcbc72f
commit 657f356590
10 files changed
+16046 -99

No files matched your search

+1 -2
View File
@@ -1,7 +1,6 @@
function animate(element, end, duration = 500) {
// console.log("hallo", element, end);
var element = document.getElementById(element);
const startTime = performance.now();
// Cubic easing function: slows down at the start and end