Procházet zdrojové kódy

Make user search results clickable

Zed před 7 roky
rodič
revize
a8c0842228
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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)):