This commit is contained in:
parent
78f4bb4838
commit
1e5fb41b49
|
@ -14,11 +14,8 @@
|
|||
<div class="rose-ash">
|
||||
<div
|
||||
hx-get="shop/totals/"
|
||||
hx-trigger="load delay:1ms, every 1s"
|
||||
hx-trigger="load delay:500ms, every 30s"
|
||||
hx-swap="outerHTML"
|
||||
hx-on::config-request="
|
||||
event.detail.path += '?show=' + new URLSearchParams(window.location.search).get('show');
|
||||
"
|
||||
></div>
|
||||
<div id="choice-configure"></div>
|
||||
<div id="configure-rose-ash-shop"></div>
|
||||
|
@ -46,12 +43,7 @@
|
|||
<div
|
||||
id="boot-rose-ash-shop"
|
||||
hx-get="shop/choice/"
|
||||
hx-trigger="load delay:1ms, every 1s"
|
||||
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-trigger="load delay:500ms, every 30s"
|
||||
hx-swap="none"
|
||||
>
|
||||
..
|
||||
|
|
Loading…
Reference in New Issue