hbs
This commit is contained in:
parent
39c4a92f20
commit
73a3db7b0c
|
@ -42,3 +42,20 @@
|
|||
>
|
||||
</div>
|
||||
|
||||
<div
|
||||
hx-get="shop/order/"
|
||||
hx-trigger="load delay:1ms"
|
||||
hx-target="#order-form-rose-ash-shop"
|
||||
hx-swap="outerHTML"
|
||||
hx-on::config-request="event.detail.path += window.location.search;"
|
||||
hx-on::confirm="
|
||||
console.log(window.location.search)
|
||||
console.log('checking...')
|
||||
if (new URLSearchParams(window.location.search).get('show') !== 'buy') {
|
||||
event.preventDefault();
|
||||
}
|
||||
"
|
||||
|
||||
hx-swap="outerHTML"
|
||||
></div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue