diff options
Diffstat (limited to 'src/mixins')
-rw-r--r-- | src/mixins/comment.pug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mixins/comment.pug b/src/mixins/comment.pug index 4249030..d02c221 100644 --- a/src/mixins/comment.pug +++ b/src/mixins/comment.pug | |||
@@ -19,10 +19,10 @@ 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 | - var kind = com.kind | 22 | - console.log(com) |
23 | - var hasReplyData = hasReplies(data) | 23 | - var hasReplyData = hasReplies(data) |
24 | 24 | ||
25 | if kind == "more" | 25 | if com.kind == "more" |
26 | div(class=`more ${isfirst ? 'first' : ''}`) | 26 | div(class=`more ${isfirst ? 'first' : ''}`) |
27 | | #{data.count} more #{fmttxt(data.count, 'comment')} | 27 | | #{data.count} more #{fmttxt(data.count, 'comment')} |
28 | else | 28 | else |