This commit is contained in:
giles 2024-09-17 23:49:20 +01:00
parent 84cedc1a00
commit c97f913044
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@
<div <div
id="order-form-rose-ash-shop" id="order-form-rose-ash-shop"
hx-get="order" hx-get="order"
hx-trigger="load delay:1ms, configured from:body, paid from:body, ordered from:body delay:1s" hx-trigger="load delay:1ms"
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-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-swap="outerHTML" hx-swap="outerHTML"
> >
</div> </div>