From 698b8837ded2ec9aaf0527a96a2b071339641d98 Mon Sep 17 00:00:00 2001 From: giles Date: Thu, 26 Sep 2024 20:31:58 +0100 Subject: [PATCH] hbs --- partials/shop/top.hbs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/partials/shop/top.hbs b/partials/shop/top.hbs index d7d222c..5b53975 100644 --- a/partials/shop/top.hbs +++ b/partials/shop/top.hbs @@ -16,12 +16,21 @@ hx-get="shop/order" hx-swap="outerHTML" hx-trigger="every 1s" + hx-target="#order-form-rose-ash-shop" hx-on::config-request="event.detail.path += window.location.search;" + hx-on::confirm=" + console.log(window.location.search) + console.log('checking...') + if (false && new URLSearchParams(window.location.search).get('show') !== 'buy') { + event.preventDefault(); + } + " >
Loading...
+