mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 11:06:30 +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 =
|
proc renderMoreReplies(thread: Thread): VNode =
|
||||||
let num = if thread.more != -1: $thread.more & " " else: ""
|
let num = if thread.more != -1: $thread.more & " " else: ""
|
||||||
let reply = if thread.more == 1: "reply" else: "replies"
|
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")):
|
buildHtml(tdiv(class="timeline-item more-replies")):
|
||||||
if link.len > 0:
|
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
|
text $num & "more " & reply
|
||||||
else:
|
else:
|
||||||
a(class="more-replies-text"):
|
a(class="more-replies-text"):
|
||||||
|
|
Loading…
Reference in a new issue