aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/interaction_button.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interaction_button.php')
-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 a1fb3b0..ed257df 100644
--- a/templates/interaction_button.php
+++ b/templates/interaction_button.php
@@ -12,4 +12,4 @@ $icon = match ($action) {
};
?>
<button title="<?= $tooltip ?>" class="icon material-symbols-outlined <?= $action . ($active ? ' active' : '') ?>"
- hx-post="<?= "/fragment/note/$note->id/$action" ?>" hx-swap="outerHTML"><?= $icon ?></button> \ No newline at end of file
+ hx-post="<?= "/fragment/note/$note->id/$action" ?>" hx-swap="outerHTML" hx-disabled-elt="this"><?= $icon ?></button> \ No newline at end of file