diff options
author | Akshay <[email protected]> | 2024-11-05 19:51:03 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2024-11-05 19:51:03 +0000 |
commit | f1bf73b65a29cb733651b1c990e27f84769dc5c3 (patch) | |
tree | f1a433c056367b85ad9eff75cd3ca42e5de05f8b /src/mixins | |
parent | 16139326f2fb5aea23614ac779171e31390b8f72 (diff) |
fix media.pug
Diffstat (limited to 'src/mixins')
-rw-r--r-- | src/mixins/comment.pug | 3 |
1 files changed, 1 insertions, 2 deletions
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) | |||
19 | 19 | ||
20 | mixin comment(com, isfirst) | 20 | mixin comment(com, isfirst) |
21 | - var data = com.data | 21 | - var data = com.data |
22 | - console.log(com) | ||
23 | - var hasReplyData = hasReplies(data) | 22 | - var hasReplyData = hasReplies(data) |
24 | 23 | ||
25 | if com.kind == "more" | 24 | if com.kind == "more" |
26 | div(class=`more ${isfirst ? 'first' : ''}`) | 25 | div(class=`more ${isfirst ? 'first' : ''}`) |
27 | | #{data.count} more #{fmttxt(data.count, 'comment')} | 26 | | #{data.count} more #{fmttxt(data.count, 'comment')} |