1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 02:54:42 -05:00

fix stuff :3

This commit is contained in:
Ashley 2023-02-17 21:19:16 +00:00
parent 98d89a063d
commit 667fa80d01

View file

@ -590,16 +590,22 @@ 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 (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>
<% } %>
<% } %>
<% } %>
@ -609,6 +615,7 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
<a href="/channel?id=<%=ID%>&tab=community" class="tab">Community</a>
<% } %>
<% } %>
<a href="/channel?id=<%=ID%>&tab=about" class="tab active">About</a>
@ -644,12 +651,16 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
<a href="/channel?id=<%=ID%>&tab=shorts" class="tab active">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)) { %>
<% if (c.comments.length != "0") { %>
@ -908,7 +919,7 @@ width: fit-content;
<% if (shorts.continuation) { %>
<div class="pagination-buttons" style="border-top: none;justify-content: center">
<a style="color:#fff" href="/channel?id=<%=ID%>&tab=shorts&continuation=<%=shorts.continuation%>">Next Page</a>
<a style="color:#fff" href="/channel?id=<%=ID%>&tab=shorts&continuations=<%=shorts.continuation%>">Next Page</a>
</div>
<% } %>
@ -982,7 +993,7 @@ width: fit-content;
<% if (stream.continuation) { %>
<div class="pagination-buttons" style="border-top: none;justify-content: center">
<a style="color:#fff" href="/channel?id=<%=ID%>&tab=live&continuation=<%=stream.continuation%>">Next Page</a>
<a style="color:#fff" href="/channel?id=<%=ID%>&tab=live&continuationl=<%=stream.continuation%>">Next Page</a>
</div>
<% } %>