]> git.r.bdr.sh - rbdr/r.bdr.sh/commitdiff
Use K
authorRuben Beltran del Rio <redacted>
Mon, 9 Sep 2024 20:13:40 +0000 (22:13 +0200)
committerRuben Beltran del Rio <redacted>
Mon, 9 Sep 2024 20:13:40 +0000 (22:13 +0200)
js/animation.js

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