cad1bef90713b99fb47a15dba432f5a23b39d6ea
- Author
- TheEdgeOfRage <git@theedgeofrage.com>
- Committer
- TheEdgeOfRage <git@theedgeofrage.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/pages/navbar.templ b/pages/navbar.templ
2index 5a981ff4bf9719bd2e68673db98265fc26148750..292e03774ee177c460df1b3ae0bfec281f6e6bf4 100644
3--- a/pages/navbar.templ
4+++ b/pages/navbar.templ
5@@ -59,7 +59,7 @@ templ navbar(route string) {
6 style="--bs-btn-color: var(--bs-body-color);"
7 hx-post="/fetch"
8 hx-swap="none"
9- hx-on::after-settle="console.log(`AAAAA`); window.location.reload()"
10+ hx-on::after-settle="window.location.reload()"
11 >
12 Fetch <i class="bi bi-cloud-download"></i>
13 </button>
14diff --git a/pages/navbar_templ.go b/pages/navbar_templ.go
15index 8112507fd537ca20e3717f4516b3f10c985ec823..437fd9969ebfca95778fce178c55d478bb1ac751 100644
16--- a/pages/navbar_templ.go
17+++ b/pages/navbar_templ.go
18@@ -58,7 +58,7 @@ func navbar(route string) templ.Component {
19 return templ_7745c5c3_Err
20 }
21 if route != "auth" {
22diff --git a/pages/subscription.templ b/pages/subscription.templ
23index c4d025294d34a48f9b574add543294e3590059da..95ec301724102109474e2e0a86922f15f854f250 100644
24--- a/pages/subscription.templ
25+++ b/pages/subscription.templ
26@@ -13,8 +13,7 @@ templ subscriptionModal() {
27 id="subscription-form"
28 class="d-flex"
29 hx-post="/subscribe"
30- hx-target="#channels-list"
31- hx-swap="beforeend"
32+ hx-swap="none"
33 hx-on::after-request="subscribeHandler(event)"
34 >
35 <input
36diff --git a/pages/subscription_templ.go b/pages/subscription_templ.go
37index 88012289e41cc5a3dd8258197b04b6ca162c49f7..dc38f8bc977871275caea2b22425def7186960cb 100644
38--- a/pages/subscription_templ.go
39+++ b/pages/subscription_templ.go
40@@ -29,7 +29,7 @@ func subscriptionModal() templ.Component {
41 templ_7745c5c3_Var1 = templ.NopComponent
42 }
43 ctx = templ.ClearChildren(ctx)