]> git.r.bdr.sh - rbdr/r.bdr.sh/commitdiff
Adjust the logic here
authorRuben Beltran del Rio <redacted>
Mon, 9 Sep 2024 20:21:20 +0000 (22:21 +0200)
committerRuben Beltran del Rio <redacted>
Mon, 9 Sep 2024 20:21:20 +0000 (22:21 +0200)
js/animation.js

index c1317587a50f29cd60cdff5eb3a0309398b7caf6..f1a624ddcfac3e798b142269e2571157cccaf6c4 100644 (file)
     }
   }
 
-  K.addEventListener('click', () => (Z ? Z=0:(Z=1&&frm())))
+  K.addEventListener('click', () => (Z = Z ? 0:(frm(),1)))
   frm()
 }
 )()