From bd6812e493ac8c7d26da5706bfe5fdad680131bf Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 16 Sep 2024 11:42:18 +0100 Subject: [PATCH] .. --- partials/content.hbs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/partials/content.hbs b/partials/content.hbs index 89ebdb2..089dd77 100644 --- a/partials/content.hbs +++ b/partials/content.hbs @@ -37,7 +37,9 @@ hx-get="order" hx-trigger="load delay:1ms, configured from:body, paid from:body, ordered from:body delay:1s" hx-on::config-request = "console.log('order triggered'); event.detail.path = !(new URLSearchParams(window.location.search).get('order')) ? 'shop/order/?embed=true' : 'shop/order/?embed=true&orderId=' + new URLSearchParams(window.location.search).get('order');" - hx-swap="innerHTML"> + hx-swap="outerHTML" + hx-target="order-form-rose-ash-shop" + >