From: Ruben Beltran del Rio Date: Mon, 9 Sep 2024 20:25:10 +0000 (+0200) Subject: Maybe we turrn on after all X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/947ae817b8c3a2c0060d1457d7ff19d3e725a924?ds=sidebyside Maybe we turrn on after all --- diff --git a/js/animation.js b/js/animation.js index 386e341..6785a4f 100644 --- a/js/animation.js +++ b/js/animation.js @@ -104,7 +104,7 @@ } } - K.addEventListener('click', () => (Z=0)) + K.addEventListener('click', () => (Z=Z?0:1&&frm())) frm() } )()