aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note/write_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note/write_form.php')
-rw-r--r--templates/note/write_form.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/note/write_form.php b/templates/note/write_form.php
index add00ec..f7b0b06 100644
--- a/templates/note/write_form.php
+++ b/templates/note/write_form.php
@@ -3,11 +3,11 @@
<input hidden type="file" name="file" id="noteAttachmentFile" _="on change send submit to closest <form/>">
</form>
-<form id="writeNoteForm" action="/todo" method="post" hx-post="/fragment/note" hx-swap="outerHTML"
+<form id="writeNoteForm" action="/todo" method="post" hx-post="/fragment/note" hx-swap="outerHTML" hx-target="this"
hx-disabled-elt="find button" _="on submit wait 1s then trigger update on #liveTimelineUpdater"
<?= ($_SERVER['REQUEST_METHOD'] == 'GET') ? 'hx-preserve' : '' ?>>
<div class="row miniProfile">
- <a href="/@/<?= $actor->handle ?>">
+ <a href="/@/<?= $actor->handle ?>" hx-target="#centrePane" hx-swap="outerHTML show:window:top">
<?php call_template('actor/avatar', ['actor' => $actor]); ?>
</a>
<div class="basicInfo">