Ver código fonte

Add focus to photo rail links

Zed 6 anos atrás
pai
commit
23647f1d7f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/profile.nim

+ 1 - 1
src/views/profile.nim

@@ -69,7 +69,7 @@ proc renderPhotoRail(profile: Profile; photoRail: seq[GalleryPhoto]): VNode =
     tdiv(class="photo-rail-grid"):
       for i, photo in photoRail:
         if i == 16: break
-        a(href=(&"/{profile.username}/status/{photo.tweetId}"),
+        a(href=(&"/{profile.username}/status/{photo.tweetId}#m"),
           style={backgroundColor: photo.color}):
           genImg(photo.url & ":thumb")