diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mixins/comment.pug | 2 | ||||
-rw-r--r-- | src/views/comments.pug | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mixins/comment.pug b/src/mixins/comment.pug index 26b5918..f46f293 100644 --- a/src/mixins/comment.pug +++ b/src/mixins/comment.pug | |||
@@ -14,7 +14,7 @@ mixin infoContainer(data, next_id, prev_id) | |||
14 | span(class=`${data.is_submitter ? 'op' : ''}`) | 14 | span(class=`${data.is_submitter ? 'op' : ''}`) |
15 | | u/#{data.author} #{data.is_submitter ? '(op)' : ''} | 15 | | u/#{data.author} #{data.is_submitter ? '(op)' : ''} |
16 | | · | 16 | | · |
17 | if data.collapsed_reason_code == "DELETED" | 17 | if data.collapsed_reason_code == "DELETED" || data.author == "[deleted]" |
18 | a(href=`https://undelete.pullpush.io${data.permalink}`) search on undelete | 18 | a(href=`https://undelete.pullpush.io${data.permalink}`) search on undelete |
19 | | · | 19 | | · |
20 | | #{timeDifference(Date.now(), data.created * 1000)} | 20 | | #{timeDifference(Date.now(), data.created * 1000)} |
diff --git a/src/views/comments.pug b/src/views/comments.pug index 8fde1ce..b006d03 100644 --- a/src/views/comments.pug +++ b/src/views/comments.pug | |||
@@ -22,7 +22,7 @@ html | |||
22 | +header(user) | 22 | +header(user) |
23 | div.hero | 23 | div.hero |
24 | h3.sub-title | 24 | h3.sub-title |
25 | a(href=`/r/${post.subreddit}`) ← r/#{post.subreddit} | 25 | a(href=`/r/${post.subreddit}`) r/#{post.subreddit} |
26 | 26 | ||
27 | div.info-container | 27 | div.info-container |
28 | - var domain = (new URL(post.url)).hostname | 28 | - var domain = (new URL(post.url)).hostname |