mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 09:58:26 +01:00
lmao
This commit is contained in:
parent
0abca4f7c8
commit
3fa0e4712f
1 changed files with 9 additions and 0 deletions
|
@ -550,17 +550,25 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
|
|||
<a href="/channel?id=<%=ID%>" class="tab active">Videos</a>
|
||||
|
||||
<% if (Array.isArray(shorts.videos)) { %>
|
||||
<% if (shorts.videos[0]) { %>
|
||||
<% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %>
|
||||
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=shorts" class="tab">Shorts</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (Array.isArray(stream.videos)) { %>
|
||||
<% if (stream.videos[0]) { %>
|
||||
|
||||
<% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=live" class="tab">Live</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (Array.isArray(c.comments)) { %>
|
||||
|
@ -653,6 +661,7 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
|
|||
|
||||
<a href="/channel?id=<%=ID%>" class="tab">Videos</a>
|
||||
<% if (Array.isArray(shorts.videos)) { %>
|
||||
|
||||
<% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=shorts" class="tab">Shorts</a>
|
||||
|
|
Loading…
Reference in a new issue