This commit is contained in:
Yarden Shoham 2024-11-20 17:42:05 +00:00
parent 1c814613e7
commit 92bc292b29
1 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,9 @@
{{template "repo/header" .}}
<div class="no-loading-indicator tw-hidden"></div>
<!-- this element reloads its content with htmx as soon as a response from the backend
includes the header "HX-Trigger: refreshCards". This usually happens when a user
watched/unwatched/starred/unstarred and we want their user card to appear/disappear.
To test go to the watchers page and click the watch button. The user cards should reload. -->
includes the header "HX-Trigger: refreshCards". This usually happens when a user
watched/unwatched/starred/unstarred and we want their user card to appear/disappear.
To test go to the watchers page and click the watch button. The user cards should reload. -->
<div
hx-trigger="refreshCards from:body"
hx-indicator=".no-loading-indicator"