deployed
This commit is contained in:
parent
b18849a2c2
commit
aded426ca5
|
@ -42,14 +42,10 @@
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
window.addEventListener('htmx:sendError', (e)=>{
|
window.addEventListener('htmx:sendError', (e)=>{
|
||||||
console.log('i got a send error!')
|
$('.modal').modal('hide');
|
||||||
$('.modal').modal('hide');
|
|
||||||
$('body').removeClass('modal-open');
|
$('body').removeClass('modal-open');
|
||||||
$('.modal-backdrop').remove();
|
$('.modal-backdrop').remove();
|
||||||
$('.modal .modal-content').remove();
|
$('.modal .modal-content').remove();
|
||||||
|
|
||||||
|
|
||||||
console.log('got here too')
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div
|
<div
|
||||||
hx-get="shop/?"
|
hx-get="shop/?"
|
||||||
hx-trigger="load delay:1ms"
|
hx-trigger="load delay:1ms"
|
||||||
hx-headers='{ "rose-ash-shop": "true", "rose-ash-shop-layout": "component" }'
|
hx-headers='{ "rose-ash-shop": "true", "rose-ash-shop-layout-top": "post" }'
|
||||||
hx-on::config-request = "
|
hx-on::config-request = "
|
||||||
//e vent.detail.path += window.location.search
|
//e vent.detail.path += window.location.search
|
||||||
const param = new URLSearchParams(window. location.search)
|
const param = new URLSearchParams(window. location.search)
|
||||||
|
|
Loading…
Reference in New Issue