Skip to content

Commit 4e9275b

Browse files
authored
Avoid having comments partial load twise. (#4893)
Comments partial had `hx-trigger="load, intersect once"`. This PR removes `, intersect once`. Looks like `, intersect once` was a leftover that we missed to remove at some point. It causes the comment partial to load twice on each page load for no reason.
1 parent 7ca385d commit 4e9275b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hypha/apply/funds/templates/funds/comments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h2 class="sr-only">{% trans "Add communication" %}</h2>
103103
class="comments"
104104
id="comment-feed"
105105
hx-get="{% url 'activity:partial-comments' object.id %}"
106-
hx-trigger="load, intersect once"
106+
hx-trigger="load"
107107
>
108108
<p>{% trans "Loading…" %}</p>
109109
</section>

0 commit comments

Comments
 (0)