button click now works
This commit is contained in:
parent
2f2ac79ece
commit
d4f9437714
1 changed files with 1 additions and 1 deletions
|
@ -26,4 +26,4 @@
|
||||||
(defn init []
|
(defn init []
|
||||||
(-> js/document
|
(-> js/document
|
||||||
(.getElementById "generate-button")
|
(.getElementById "generate-button")
|
||||||
(.onclick generate)))
|
(.addEventListener "click" generate)))
|
Loading…
Reference in a new issue