forked from MarseyWorld/MarseyWorld
fix this
"""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
parent
d4b34ce5ad
commit
a33d8fa167
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue