mirror of
https://github.com/zedeus/nitter.git
synced 2024-10-31 22:08:50 +00:00
Fix typo
This commit is contained in:
parent
7e713e8fa5
commit
b2e6153dba
1 changed files with 2 additions and 2 deletions
|
@ -6,10 +6,10 @@ import tweet, timeline
|
|||
proc renderMoreReplies(thread: Thread): VNode =
|
||||
let num = if thread.more != -1: $thread.more & " " else: ""
|
||||
let reply = if thread.more == 1: "reply" else: "replies"
|
||||
let link = getLink(thread.content[0])
|
||||
let link = getLink(thread.content[^1])
|
||||
buildHtml(tdiv(class="timeline-item more-replies")):
|
||||
if link.len > 0:
|
||||
a(class="more-replies-text", href=getLink(thread.content[0])):
|
||||
a(class="more-replies-text", href=link):
|
||||
text $num & "more " & reply
|
||||
else:
|
||||
a(class="more-replies-text"):
|
||||
|
|
Loading…
Reference in a new issue