This commit is contained in:
giles 2024-10-04 13:51:06 +01:00
parent 78f4bb4838
commit 1e5fb41b49
1 changed files with 3 additions and 11 deletions

View File

@ -14,11 +14,8 @@
<div class="rose-ash"> <div class="rose-ash">
<div <div
hx-get="shop/totals/" hx-get="shop/totals/"
hx-trigger="load delay:1ms, every 1s" hx-trigger="load delay:500ms, every 30s"
hx-swap="outerHTML" hx-swap="outerHTML"
hx-on::config-request="
event.detail.path += '?show=' + new URLSearchParams(window.location.search).get('show');
"
></div> ></div>
<div id="choice-configure"></div> <div id="choice-configure"></div>
<div id="configure-rose-ash-shop"></div> <div id="configure-rose-ash-shop"></div>
@ -46,12 +43,7 @@
<div <div
id="boot-rose-ash-shop" id="boot-rose-ash-shop"
hx-get="shop/choice/" hx-get="shop/choice/"
hx-trigger="load delay:1ms, every 1s" hx-trigger="load delay:500ms, every 30s"
hx-on::config-request= "
event.detail.path+= '?show=' + new URLSearchParams(window.location.search).get('show');
if (new URLSearchParams(window.location.search).get('orderId')) {
event.detail.path += '&orderId=' + new URLSearchParams(window.location.search).get('orderId');
}"
hx-swap="none" hx-swap="none"
> >
.. ..