aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/preferences_form.php
diff options
context:
space:
mode:
authorwinter2025-03-16 02:04:04 +0000
committerwinter2025-03-16 02:04:04 +0000
commitdd4d47bde45d20954129ba256696bf12c3826cdd (patch)
tree83029bead8fbd1fe7206961b8d0145b1400f6f38 /templates/preferences_form.php
parent23ddb01a20788da2c98c4d5bb9bd271ceff532c8 (diff)
fix hx-target everywhere :<
Diffstat (limited to 'templates/preferences_form.php')
-rw-r--r--templates/preferences_form.php2
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');