From 23647f1d7f038cd4b0db7153745f87f4b0d5a3a7 Mon Sep 17 00:00:00 2001 From: Zed Date: Fri, 10 Jan 2020 02:00:00 +0100 Subject: [PATCH] Add focus to photo rail links --- src/views/profile.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/profile.nim b/src/views/profile.nim index 0b78a68..779c905 100644 --- a/src/views/profile.nim +++ b/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")