From 1ddde70236428e09dc07bf877cae34c0ff1ca1b4 Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 16 Sep 2024 11:22:20 +0100 Subject: [PATCH] .. --- partials/content.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partials/content.hbs b/partials/content.hbs index 25af896..0ff208d 100644 --- a/partials/content.hbs +++ b/partials/content.hbs @@ -36,7 +36,7 @@ id="order-rose-ash-shop" hx-get="order" hx-trigger="load delay:1ms, configured from:body, paid from:body, ordered from:body delay:1s" - hx-on::config-request = "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-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="outerHTML">