button click now works

This commit is contained in:
jem 2021-02-26 17:40:50 +01:00
parent 2f2ac79ece
commit d4f9437714

View file

@ -26,4 +26,4 @@
(defn init []
(-> js/document
(.getElementById "generate-button")
(.onclick generate)))
(.addEventListener "click" generate)))