dont collapse when page ends with "/comments"

pull/225/head
Aevann 2024-02-21 21:20:53 +02:00
parent be766f3148
commit 63526a5232
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ class Comment(Base):
def collapse_for_user(self, v, focused_comment, path=''):
if v and self.author_id == v.id: return False
if path == '/admin/removed/comments': return False
if path.endswith('/comments'): return False
if focused_comment: return False