Parcourir la source

Make user search results clickable

Zed il y a 7 ans
Parent
commit
a8c0842228
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/views/timeline.nim

+ 1 - 0
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)):