working browser replacement

This commit is contained in:
bom 2021-09-14 15:08:46 +02:00
parent 8a4bce838a
commit f0451ec086
2 changed files with 3 additions and 4 deletions

View file

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>c4k-keycloak</title> <title>c4k-jira</title>
<link href="https://domaindrivenarchitecture.org/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="https://domaindrivenarchitecture.org/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="https://domaindrivenarchitecture.org/css/fonts/fontawesome/fontawesome.css" rel="stylesheet" <link href="https://domaindrivenarchitecture.org/css/fonts/fontawesome/fontawesome.css" rel="stylesheet"
type="text/css" /> type="text/css" />
@ -11,8 +11,7 @@
</head> </head>
<body> <body>
<div class="container jumbotron"> <div id="app"></div>
</div>
<script src="js/main.js"></script> <script src="js/main.js"></script>
</body> </body>

View file

@ -69,7 +69,7 @@
(.addEventListener "blur" #(do (validate-all!))))) (.addEventListener "blur" #(do (validate-all!)))))
(defn init [] (defn init []
(br/replace-element-content "container jumbotron" (generate-final)) (br/replace-element-content "app" (generate-final))
(-> js/document (-> js/document
(.getElementById "generate-button") (.getElementById "generate-button")
(.addEventListener "click" (.addEventListener "click"