]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - js/animation.js
Only turn off, not re-run
[rbdr/r.bdr.sh] / js / animation.js
index f2f998a99735792f3bb31ec799e5b6bb0c0ea091..386e341514a47a69d97dfcff70d94529ae390f6d 100644 (file)
     }
   }
 
-  canvas.addEventListener('click', () => (Z ? Z=0:(Z=1&&frm())))
+  K.addEventListener('click', () => (Z=0))
   frm()
 }
 )()