aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/interaction_button.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interaction_button.php b/templates/interaction_button.php
index 368cb1a..2b4fb82 100644
--- a/templates/interaction_button.php
+++ b/templates/interaction_button.php
@@ -16,7 +16,7 @@ $id = "interactButton-$action-$note->id";
<button title="<?= $tooltip ?>" class="material-symbols <?= $icon ?>"
hx-post="<?= "/fragment/note/$note->id/$action" ?>" hx-swap="outerHTML"
hx-target="closest .interactButtonContainer" hx-disabled-elt="this" id="<?= $id ?>"
- _="on click wait 1s then trigger update on #liveTimelineUpdater" <?= ($disabled ?? false) ? 'disabled' : '' ?>>
+ _="on htmx:afterOnLoad trigger update on #liveTimelineUpdater" <?= ($disabled ?? false) ? 'disabled' : '' ?>>
</button>
<label for="<?= $id ?>" class="interactionCount"><?= $count ?? '' ?></label>
</div> \ No newline at end of file