diff options
| author | winter | 2025-03-16 02:04:04 +0000 |
|---|---|---|
| committer | winter | 2025-03-16 02:04:04 +0000 |
| commit | dd4d47bde45d20954129ba256696bf12c3826cdd (patch) | |
| tree | 83029bead8fbd1fe7206961b8d0145b1400f6f38 /templates/preferences_form.php | |
| parent | 23ddb01a20788da2c98c4d5bb9bd271ceff532c8 (diff) | |
fix hx-target everywhere :<
Diffstat (limited to 'templates/preferences_form.php')
| -rw-r--r-- | templates/preferences_form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/preferences_form.php b/templates/preferences_form.php index afd487b..ed13731 100644 --- a/templates/preferences_form.php +++ b/templates/preferences_form.php @@ -16,7 +16,7 @@ function _user_pref(string $id, mixed $value, string $type) { ?> <form class="settings" method="post" action="/todo" hx-post="/fragment/preferences" - hx-disabled-elt="find <button[type='submit']/>" hx-swap="outerHTML"> + hx-disabled-elt="find <button[type='submit']/>" hx-swap="outerHTML" hx-target="this"> <?php _user_pref('requestToFollow', $user->actor->requestToFollow, 'boolean'); |
