From 24a913ee941e31bb2d098b46eee71c595b23d1e5 Mon Sep 17 00:00:00 2001 From: giles Date: Tue, 24 Sep 2024 19:15:12 +0100 Subject: [PATCH] hbs --- partials/shop-top.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partials/shop-top.hbs b/partials/shop-top.hbs index f3263f1..6d4edc9 100644 --- a/partials/shop-top.hbs +++ b/partials/shop-top.hbs @@ -42,7 +42,7 @@ id="order-detail-rose-ash-shop" hx-get="shop/order" hx-trigger="load delay:1ms" - hx-on::config-request="event.detail.path = new URLSearchParams(window.location.search).get('orderId') ? 'shop/order/' + new URLSearchParams(window.location.search).get('orderId')+ '/' : null; '" + hx-on::config-request="event.detail.path = new URLSearchParams(window.location.search).get('orderId') ? 'shop/order/' + new URLSearchParams(window.location.search).get('orderId')+ '/' : null; " hx-on::confirm = " if (!new URLSearchParams(window.location.search).get('orderId')) { event.preventDefault(); }" hx-swap="innerHTML" >