From ab5ac8a060381a24605984505a1f61c9a1a81bc7 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 06:42:28 +0200 Subject: [PATCH] auto-git: [change] renderer.js --- renderer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderer.js b/renderer.js index 06498ac..7765b0e 100644 --- a/renderer.js +++ b/renderer.js @@ -21,6 +21,7 @@ window.addEventListener('DOMContentLoaded', async () => { } }); + // Drag and Drop document.body.addEventListener('dragover', e => { e.preventDefault(); @@ -701,8 +702,7 @@ folders.forEach(folderObj => { }); window.updateCatGlow = function(commitCount) { - // Übergib den Wert an animeCat.js - if (window.animateCatGlow) window.animateCatGlow(commitCount); + if (window.cat) window.cat.animateCatGlow(commitCount); };