summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-22 19:55:34 -0700
committerAndrew Godwin2022-11-22 19:58:56 -0700
commit5616ef02b3b9f84019d48266c07267c83aa9f194 (patch)
tree3cf606f51d2d0d7809462ca9b4407fcd0881b965
parentcdfff32f9af75730ca560833744433f1dc07067f (diff)
downloadtakahe-5616ef02b3b9f84019d48266c07267c83aa9f194.tar.gz
takahe-5616ef02b3b9f84019d48266c07267c83aa9f194.tar.bz2
takahe-5616ef02b3b9f84019d48266c07267c83aa9f194.zip
Re enable click refresh with HTMX
-rw-r--r--templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 62ee087..485e0d3 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -35,7 +35,7 @@
<i class="fa-solid fa-search"></i>
</a>
{% if allows_refresh %}
- <a href="." title="Refresh" hx-get="." hx-select=".left-column" hx-target=".left-column" hx-swap="outerHTML" hx-trigger="every 120s">
+ <a href="." title="Refresh" hx-get="." hx-select=".left-column" hx-target=".left-column" hx-swap="outerHTML" hx-trigger="click, every 120s">
<i class="fa-solid fa-rotate"></i>
</a>
{% endif %}