aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkshay <[email protected]>2024-12-16 14:37:56 +0000
committerAkshay <[email protected]>2024-12-16 14:37:56 +0000
commit77ab37ccac0dc67829a4281730a5d95b9a07e512 (patch)
treec5b1913efa89711a29c05fe0a0ec59ca43158cfa /src
parent2f5c02d6cc67f20b043492c7f4498148fa4c3adb (diff)
search-on-undelete for more comments
Diffstat (limited to 'src')
-rw-r--r--src/mixins/comment.pug2
-rw-r--r--src/views/comments.pug2
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 | &nbsp;·&nbsp; 16 | &nbsp;·&nbsp;
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 | &nbsp;·&nbsp; 19 | &nbsp;·&nbsp;
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