Quellcode durchsuchen

Add focus to photo rail links

Zed vor 6 Jahren
Ursprung
Commit
23647f1d7f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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")