diff --git a/files/templates/comments.html b/files/templates/comments.html
index 1edf6466e1..c6ef8d0976 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -83,7 +83,7 @@
{% if render_replies %}
- {% if level<9 or request.path == '/notifications' or request.headers.get("xhr") %}
+ {% if level<9 or request.path.startswith('/notifications') or request.headers.get("xhr") %}
{% for reply in replies %}
{{single_comment(reply, level=level+1)}}
@@ -586,7 +586,7 @@
{% if render_replies %}
- {% if level<9 or request.path == '/notifications' or request.headers.get("xhr") %}
+ {% if level<9 or request.path.startswith('/notifications') or request.headers.get("xhr") %}
{% for reply in replies %}
{{single_comment(reply, level=level+1)}}
@@ -599,7 +599,7 @@
{% endif %}
- {% if request.path == '/notifications' and c.level == 1 and c.sentto and not c.parent_submission and c.author_id != AUTOJANNY_ID %}
+ {% if request.path.startswith('/notifications') and c.level == 1 and c.sentto and not c.parent_submission and c.author_id != AUTOJANNY_ID %}
Reply