Explorar el Código

Make user search results clickable

Zed hace 7 años
padre
commit
a8c0842228
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)):