X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/dc7dafd01da50b7a40b19dedc47aed18190fd97a..8729afa8d546cf24416337a908dc79188ced6832:/js/animation.js?ds=sidebyside diff --git a/js/animation.js b/js/animation.js index c131758..6dbd0be 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:1)&&frm())) frm() } )()