diff options
Diffstat (limited to 'templates/interaction_button.php')
| -rw-r--r-- | templates/interaction_button.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interaction_button.php b/templates/interaction_button.php index b3d072d..7315f7d 100644 --- a/templates/interaction_button.php +++ b/templates/interaction_button.php @@ -16,7 +16,7 @@ $id = "interactButton-$action-$note->id"; <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 ?>" - _="on click wait 1s then trigger update on #liveTimelineUpdater"> + _="on click wait 1s then trigger update on #liveTimelineUpdater" <?= ($disabled ?? false) ? 'disabled' : '' ?>> <?= $icon ?> </button> <label for="<?= $id ?>" class="interactionCount"><?= $count ?? '' ?></label> |
