ソースを参照

Make "more replies" link to the tweet

Zed 7 年 前
コミット
7915616e2e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/status.nim

+ 1 - 1
src/views/status.nim

@@ -7,7 +7,7 @@ proc renderMoreReplies(thread: Thread): VNode =
   let num = if thread.more != -1: $thread.more & " " else: ""
   let reply = if thread.more == 1: "reply" else: "replies"
   buildHtml(tdiv(class="timeline-item more-replies")):
-    a(class="more-replies-text", title="Not implemented yet"):
+    a(class="more-replies-text", href=getLink(thread.content[0])):
       text $num & "more " & reply
 
 proc renderReplyThread(thread: Thread; prefs: Prefs; path: string): VNode =