Re enable click refresh with HTMX

This commit is contained in:
Andrew Godwin 2022-11-22 19:55:34 -07:00
parent cdfff32f9a
commit 5616ef02b3

View File

@ -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 %}