Skip to content

Commit

Permalink
fix bug that elements inserted by hyperscript were not processed by htmx
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Nov 13, 2024
1 parent 07d1c79 commit e6b6e93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/admin_oidc_clients.templ
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ templ OidcClient(client database.OidcClient, secret []byte) {
</ul>
<button
class={ button }
_="on click put (next <template/>).innerHTML at end of previous <ul/>"
_="on click put (next <template/>).innerHTML at end of previous <ul/> then call htmx.process(previous <li/>)"
>Add redirect URI</button>
<template>
<li>
Expand Down
2 changes: 1 addition & 1 deletion templates/admin_oidc_clients_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e6b6e93

Please sign in to comment.