From f1bf73b65a29cb733651b1c990e27f84769dc5c3 Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 5 Nov 2024 19:51:03 +0000 Subject: fix media.pug --- src/mixins/comment.pug | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mixins') diff --git a/src/mixins/comment.pug b/src/mixins/comment.pug index d02c221..99231d8 100644 --- a/src/mixins/comment.pug +++ b/src/mixins/comment.pug @@ -19,9 +19,8 @@ mixin infoContainer(data) mixin comment(com, isfirst) - var data = com.data - - console.log(com) - var hasReplyData = hasReplies(data) - + if com.kind == "more" div(class=`more ${isfirst ? 'first' : ''}`) | #{data.count} more #{fmttxt(data.count, 'comment')} -- cgit v1.2.3