From a8c0842228b780468ed1fc3f8e85267048114f78 Mon Sep 17 00:00:00 2001 From: Zed Date: Fri, 20 Sep 2019 02:49:54 +0200 Subject: [PATCH] Make user search results clickable --- src/views/timeline.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/timeline.nim b/src/views/timeline.nim index 923fc28..9902f0d 100644 --- a/src/views/timeline.nim +++ b/src/views/timeline.nim @@ -44,6 +44,7 @@ proc threadFilter(it: Tweet; tweetThread: string): bool = proc renderUser(user: Profile; prefs: Prefs): VNode = buildHtml(tdiv(class="timeline-item")): + a(class="tweet-link", href=("/" & user.username)) tdiv(class="tweet-body profile-result"): tdiv(class="tweet-header"): a(class="tweet-avatar", href=("/" & user.username)):