Skip to content

Commit

Permalink
fix: dialog windows not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
blackfyre committed Mar 8, 2024
1 parent 353d112 commit ea880bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/templ/components/image.templ
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ templ ImageCard(i Image, hasLearnMore bool) {
hx-get={ `/postcard/send?awid=` + i.Id }
hx-target="#d"
class="card-footer-item"
hx-swap="innerHTML"
hx-select="section.postcard-editor"
>
Send
Postcard
Expand Down
1 change: 1 addition & 0 deletions assets/templ/layouts/layout.templ
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ templ layout_base() {
hx-target="#d"
hx-select="section.container"
class="button is-primary is-feedback"
hx-swap="innerHTML"
>Feedback</a>
<script src="/assets/js/vendor/viewer.min.js"></script>
<script src="/assets/js/app.js"></script>
Expand Down

0 comments on commit ea880bc

Please sign in to comment.