Skip to content

Commit

Permalink
fix edit button content swapping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed Nov 5, 2023
1 parent ec729c2 commit d754fec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ <h2>{{ .Name }}</h2>
<button
class="btn-primary"
hx-get="/dogs/edit/{{.ID}}"
hx-target="#cards"
hx-swap="outerHTML"
hx-target="body"
hx-swap="beforeend"
hx-indicator="#spinner"
href=""
>
Expand Down

0 comments on commit d754fec

Please sign in to comment.