fix edited dates on replies (ref pr #106)

This commit is contained in:
teddit 2021-04-16 22:08:55 +02:00
parent b97adac749
commit 6bcb181cb1

View File

@ -166,7 +166,7 @@ module.exports = function() {
ups = `${kFormatter(comment.ups)} points`
}
if(comment.edited) {
edited_span = `<span title="last edited ${toUTCString(comments.edited)}">*</span>`
edited_span = `<span title="last edited ${toUTCString(comment.edited)}">*</span>`
}
if(comment.controversiality > 0) {
controversial_span = `<span class="controversial" title="this comment is voted as controversial">†</span>`