mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 17:17:59 +00:00
remove vidoes if theres none duh
This commit is contained in:
parent
358a4d8311
commit
76dae85866
@ -896,8 +896,15 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
|
|||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<% if (tab === "shorts") { %>
|
<% if (tab === "shorts") { %>
|
||||||
|
<% if (Array?.isArray(tj?.videos)) { %>
|
||||||
|
<% if (tj?.videos[0]) { %>
|
||||||
|
<% if (turntomins(tj?.videos[0]?.lengthSeconds) != "aN:aN" ) { %>
|
||||||
|
|
||||||
<a href="/channel?id=<%=ID%>" class="tab" style="color:#cfe2f3;">Videos</a>
|
<a href="/channel?id=<%=ID%>" class="tab" style="color:#cfe2f3;">Videos</a>
|
||||||
|
<% } %>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<% } %>
|
||||||
<% if (Array?.isArray(shorts?.videos)) { %>
|
<% if (Array?.isArray(shorts?.videos)) { %>
|
||||||
|
|
||||||
<a href="/channel?id=<%=ID%>&tab=shorts" class="tab active shr">Shorts</a>
|
<a href="/channel?id=<%=ID%>&tab=shorts" class="tab active shr">Shorts</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user