diff --git a/partials/shop/top.hbs b/partials/shop/top.hbs index d7d222c..5b53975 100644 --- a/partials/shop/top.hbs +++ b/partials/shop/top.hbs @@ -16,12 +16,21 @@ hx-get="shop/order" hx-swap="outerHTML" hx-trigger="every 1s" + hx-target="#order-form-rose-ash-shop" hx-on::config-request="event.detail.path += window.location.search;" + hx-on::confirm=" + console.log(window.location.search) + console.log('checking...') + if (false && new URLSearchParams(window.location.search).get('show') !== 'buy') { + event.preventDefault(); + } + " >