diff --git a/partials/shop-top.hbs b/partials/shop-top.hbs index efa2ebe..f3263f1 100644 --- a/partials/shop-top.hbs +++ b/partials/shop-top.hbs @@ -43,7 +43,7 @@ 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::confirm = " if (!new URLSearchParams(window.location.search).get('order')) { event.preventDefault(); }" + hx-on::confirm = " if (!new URLSearchParams(window.location.search).get('orderId')) { event.preventDefault(); }" hx-swap="innerHTML" >