diff --git a/files/templates/comments.html b/files/templates/comments.html index be0096372..e229ad0e7 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -88,14 +88,14 @@ {% if render_replies %} - {% if level<9 or request.path.startswith('/notifications') or request.headers.get("xhr") %} + {% if ajax or level<9 or request.path.startswith('/notifications') or request.headers.get("xhr") %}
{% for reply in replies %} {{single_comment(reply, level=level+1)}} {% endfor %}
{% elif replies %} -
+
More comments
@@ -599,14 +599,14 @@ {% endif %} {% if render_replies %} - {% if level<9 or request.path.startswith('/notifications') or request.headers.get("xhr") %} + {% if ajax or level<9 or request.path.startswith('/notifications') or request.headers.get("xhr") %}
{% for reply in replies %} {{single_comment(reply, level=level+1)}} {% endfor %}
{% elif replies %} -
+
More comments
@@ -911,7 +911,7 @@ xhr.setRequestHeader('xhr', 'xhr'); xhr.onload=function(){ if (xhr.status==200) { - let e = document.getElementById(`morecomments-${cid}`) + let e = document.getElementById(`replies-of-t3_${cid}`) e.innerHTML = xhr.response.replace(/data-src/g, 'src').replace(/data-cfsrc/g, 'src').replace(/style="display:none;visibility:hidden;"/g, ''); bs_trigger(e) @@ -945,4 +945,4 @@
{% endif %} - + \ No newline at end of file