From: Ruben Beltran del Rio Date: Mon, 9 Sep 2024 20:21:20 +0000 (+0200) Subject: Adjust the logic here X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/98bd88385dbbdfbd719948eb0cfa705481dd58b5?ds=inline;hp=dc7dafd01da50b7a40b19dedc47aed18190fd97a Adjust the logic here --- diff --git a/js/animation.js b/js/animation.js index c131758..f1a624d 100644 --- a/js/animation.js +++ b/js/animation.js @@ -104,7 +104,7 @@ } } - K.addEventListener('click', () => (Z ? Z=0:(Z=1&&frm()))) + K.addEventListener('click', () => (Z = Z ? 0:(frm(),1))) frm() } )()