This commit is contained in:
giles 2024-10-10 01:11:14 +01:00
parent a9539e10ee
commit b18849a2c2
1 changed files with 7 additions and 2 deletions

View File

@ -1,10 +1,15 @@
<div class="rose-ash">
<div
hx-get="shop"
hx-get="shop/?"
hx-trigger="load delay:1ms"
hx-headers='{ "rose-ash-shop": "true", "rose-ash-shop-layout": "component" }'
hx-on::config-request = "event.detail.path += window.location.search"
hx-on::config-request = "
//e vent.detail.path += window.location.search
const param = new URLSearchParams(window. location.search)
param.set('embed', 'true')
event.detail.path += param.toString()
"
hx-swap="outerHTML"
>
</div>