1
0

Fix typo and condition check in _animateCatGlow method of animeCat.js

This commit is contained in:
2025-05-26 07:03:16 +02:00
parent 23e6ed0c5a
commit 0d3b5ec57a

View File

@@ -135,7 +135,7 @@ window.AnimeCat = class AnimeCat {
// Zeigt Progress der täglichen Commits an
_animateCatGlow(commitCount) {
this.glow = this.wrapper.querySelector('#cat-glow');
if (!glow) return;
if (!this.glow) return;
const factor = Math.min(commitCount / 10, 1);