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>
<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/fonts/fontawesome/fontawesome.css" rel="stylesheet"
type="text/css" />
@ -11,8 +11,7 @@
</head>
<body>
<div class="container jumbotron">
</div>
<div id="app"></div>
<script src="js/main.js"></script>
</body>

View file

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