1
0

Fix syntax error in animeCat.js

This commit is contained in:
2025-05-26 04:52:06 +02:00
parent fc94b6fdb1
commit 237d08eaf8

View File

@@ -213,7 +213,7 @@ _bindMouseHold() {
mouseDown = false;
reopenEyes();
const heldFor = Date.now() - mouseDownAt;
const mouthOpenTime = (Math.max(heldFor - 1000, 0) < 500 ?) 500 : Math.max(heldFor - 1000, 0);
const mouthOpenTime = Math.max(heldFor - 1000, 0) < 500 ? 500 : Math.max(heldFor - 1000, 0);
if (mouthOpenTime > 0) {
this.img.src = this.images.mouthOpen || this.images.default;
this._startBlinking();