"""i have been meaning to bring up to @Aevann that when you load someone's comments (who has had those comments removed) with the ?page=1 text it autocollapses them and is very annoying, like so https://watchpeopledie.tv/@freakhoe/comments?page=1"""
master
Aevann 2024-11-11 21:26:40 +02:00
parent d4b34ce5ad
commit a33d8fa167
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@
{% set isreply = False %}
{% endif %}
<div id="comment-{{c.id}}" class="anchor comment {% if wall and level == 1 and not (focused_comment and c == focused_comment) %}mt-5{% elif wall %}mt-4{% elif standalone and level == 1 %}mt-0{% endif %} {% if collapse or c.collapse_for_user(v, focused_comment, request.full_path) %}collapsed{% endif %}" style="{% if isreply %}padding-left:0!important{% endif %}">
<div id="comment-{{c.id}}" class="anchor comment {% if wall and level == 1 and not (focused_comment and c == focused_comment) %}mt-5{% elif wall %}mt-4{% elif standalone and level == 1 %}mt-0{% endif %} {% if collapse or c.collapse_for_user(v, focused_comment, request.path) %}collapsed{% endif %}" style="{% if isreply %}padding-left:0!important{% endif %}">
{% set is_collapsing = (request.path.startswith('/notifications') or request.path == '/contact') and replies|length > 8 %}
{% if not isreply %}
{% if is_collapsing %}