mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 17:17:49 +01:00
remove vidoes if theres none duh
This commit is contained in:
parent
358a4d8311
commit
76dae85866
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue