This commit is contained in:
giles 2024-09-26 20:31:58 +01:00
parent 025204d5fe
commit 698b8837de
1 changed files with 9 additions and 0 deletions

View File

@ -16,12 +16,21 @@
hx-get="shop/order" hx-get="shop/order"
hx-swap="outerHTML" hx-swap="outerHTML"
hx-trigger="every 1s" hx-trigger="every 1s"
hx-target="#order-form-rose-ash-shop"
hx-on::config-request="event.detail.path += window.location.search;" 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();
}
"
> >
<div class="spinner-border" role="status"> <div class="spinner-border" role="status">
<span class="sr-only">Loading...</span> <span class="sr-only">Loading...</span>
</div> </div>
</div> </div>
<!-- <!--
<div <div
id="order-detail-rose-ash-shop" id="order-detail-rose-ash-shop"