aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/actor/profile_reset_avatar.php
diff options
context:
space:
mode:
authorwinter2025-03-16 02:04:04 +0000
committerwinter2025-03-16 02:04:04 +0000
commitdd4d47bde45d20954129ba256696bf12c3826cdd (patch)
tree83029bead8fbd1fe7206961b8d0145b1400f6f38 /templates/actor/profile_reset_avatar.php
parent23ddb01a20788da2c98c4d5bb9bd271ceff532c8 (diff)
fix hx-target everywhere :<
Diffstat (limited to 'templates/actor/profile_reset_avatar.php')
-rw-r--r--templates/actor/profile_reset_avatar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/actor/profile_reset_avatar.php b/templates/actor/profile_reset_avatar.php
index 86a3507..5eb0a68 100644
--- a/templates/actor/profile_reset_avatar.php
+++ b/templates/actor/profile_reset_avatar.php
@@ -1,3 +1,3 @@
-<button type="button" class="secondary inline" hx-post="/fragment/profile/resetAvatar" <?= ($reset ?? false) ? 'disabled' : '' ?>>
+<button type="button" class="secondary inline" hx-post="/fragment/profile/resetAvatar" <?= ($reset ?? false) ? 'disabled' : '' ?> hx-target="this">
<?= __(($reset ?? false) ? 'user.profile.avatarReset' : 'user.profile.resetAvatar') ?>
</button> \ No newline at end of file