diff options
Diffstat (limited to 'templates/interaction_button.php')
| -rw-r--r-- | templates/interaction_button.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/interaction_button.php b/templates/interaction_button.php index edd1a25..b3d072d 100644 --- a/templates/interaction_button.php +++ b/templates/interaction_button.php @@ -15,7 +15,8 @@ $id = "interactButton-$action-$note->id"; <div class="interactButtonContainer <?= $action . ($active ? ' active' : '') ?>"> <button title="<?= $tooltip ?>" class="icon material-symbols-outlined <?= $active ? 'active' : '' ?>" hx-post="<?= "/fragment/note/$note->id/$action" ?>" hx-swap="outerHTML" - hx-target="closest .interactButtonContainer" hx-disabled-elt="this" id="<?= $id ?>"> + hx-target="closest .interactButtonContainer" hx-disabled-elt="this" id="<?= $id ?>" + _="on click wait 1s then trigger update on #liveTimelineUpdater"> <?= $icon ?> </button> <label for="<?= $id ?>" class="interactionCount"><?= $count ?? '' ?></label> |
