aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/interaction_button.php
diff options
context:
space:
mode:
authorwinter2024-12-24 14:42:27 +0000
committerwinter2024-12-24 14:42:27 +0000
commit01b7c47c68b8b3c5a9fd9137b067b34b566b951d (patch)
tree0ddde0ad70df4e2e51115ee038646f4a093a7c43 /templates/interaction_button.php
parent37de7e4fa175c0edc747faebddd8edccce44948e (diff)
ui additions
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