From 747750450821c80049d8ee6f4ee49853154d26be Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Wed, 29 Jan 2025 19:34:25 -0800 Subject: [PATCH] Swap outerHTML by default --- web/html/item.html | 2 -- web/html/layout.html | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/web/html/item.html b/web/html/item.html index 46229c5..b5bd225 100644 --- a/web/html/item.html +++ b/web/html/item.html @@ -3,7 +3,6 @@ class="item-button" title="Deactivate {{ .Source }}/{{ .Id }}" hx-target="closest article" - hx-swap="outerHTML" hx-select="article" hx-delete="/item/{{ .Source }}/{{ .Id }}" >✕ @@ -18,7 +17,6 @@ class="item-button" title="{{ $key }}" hx-target="closest article" - hx-swap="outerHTML" hx-select="article" hx-post="/item/{{ $.Source }}/{{ $.Id }}/action/{{ $key }}" >{{ $key }} diff --git a/web/html/layout.html b/web/html/layout.html index 8ce6704..dddfd63 100644 --- a/web/html/layout.html +++ b/web/html/layout.html @@ -6,7 +6,7 @@ - +