diff --git a/partials/content.hbs b/partials/content.hbs index 83c7da7..defac17 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 = "console.log('order triggered'); event.detail.path = !(new URLSearchParams(window.location.search).get('order')) ? 'shop/order/?embed=true&ok=10&show=true' : 'shop/order/?embed=true&ok=11&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&ok=10' : 'shop/order/?embed=true&ok=11&orderId=' + new URLSearchParams(window.location.search).get('order');" hx-swap="outerHTML" hx-target="#order-form-rose-ash-shop" >