Fix: Reply button doesn't reliably appear and shows up in the wrong place.

This commit is contained in:
Ben Rog-Wilhelm 2023-08-09 02:30:00 -05:00
parent 6b8c314087
commit f07ad1b700

View file

@ -119,6 +119,10 @@
{%- include 'component/comment/replybox_comment.html' -%}
{% if is_notification_page and c.is_strict_message and c.author_id not in (NOTIFICATIONS_ID, AUTOJANNY_ID) %}
{%- include 'component/comment/replybox_message.html' -%}
{% endif %}
{% if render_replies %}
{% if level <= RENDER_DEPTH_LIMIT - 1 or is_notification_page %}
<div id="replies-of-{{c.id}}">
@ -135,10 +139,6 @@
{% else %}
<div id="replies-of-{{c.id}}"></div>
{% endif %}
{% if is_notification_page and c.level == 1 and c.is_strict_message and c.author_id not in (NOTIFICATIONS_ID, AUTOJANNY_ID) %}
{%- include 'component/comment/replybox_message.html' -%}
{% endif %}
</div>
{%- include 'component/comment/actions_mobile.html' -%}