Browse Source

Add focus to photo rail links

Zed 6 năm trước cách đây
mục cha
commit
23647f1d7f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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")