aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/preferences_form.php
diff options
context:
space:
mode:
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');