mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-12-22 13:07:00 +00:00
Only show continuous mode if there are videos
This commit is contained in:
parent
e0238d7e7d
commit
d1e2202cae
@ -79,8 +79,9 @@ block content
|
||||
aside(style=continuous ? "display: none" : "")#standard-related-videos.related-videos
|
||||
.related-cols
|
||||
h2.related-header Related videos
|
||||
.continuous-start
|
||||
a(href=`/watch?v=${video.videoId}&continuous=1` nofollow) Continuous mode
|
||||
if video.recommendedVideos.length
|
||||
.continuous-start
|
||||
a(href=`/watch?v=${video.videoId}&continuous=1` nofollow) Continuous mode
|
||||
each r in video.recommendedVideos
|
||||
+video_list_item("related-video", r, instanceOrigin)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user