From: Ruben Beltran del Rio Date: Mon, 9 Sep 2024 20:23:34 +0000 (+0200) Subject: Only turn off, not re-run X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/41fd02f65fa8913a448f4e54474bbd9c68e3cff5?ds=sidebyside Only turn off, not re-run --- diff --git a/js/animation.js b/js/animation.js index f1a624d..386e341 100644 --- a/js/animation.js +++ b/js/animation.js @@ -104,7 +104,7 @@ } } - K.addEventListener('click', () => (Z = Z ? 0:(frm(),1))) + K.addEventListener('click', () => (Z=0)) frm() } )()