feat: try to keep selected transactions between htmx swaps

This commit is contained in:
Herculino Trotta
2024-12-14 02:24:12 -03:00
parent 4b8baec36f
commit b86e859c39
2 changed files with 2 additions and 2 deletions
@@ -1,6 +1,6 @@
{% load i18n %}
<div class="tw-sticky tw-bottom-4 tw-left-0 tw-right-0 tw-z-50 tw-hidden mx-auto tw-w-fit" id="actions-bar"
_="on change from #transactions-list or htmx:afterSettle
_="on change from #transactions-list or htmx:afterSettle from window
if no <input[type='checkbox']:checked/> in #transactions-list
add .tw-hidden to #actions-bar
else