fix some stuff lol

This commit is contained in:
Ashley 2023-08-08 19:26:22 +00:00
parent e75c748dad
commit 4d88e9afb1

View file

@ -591,7 +591,7 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
<% } %> <% } %>
<% if (Array.isArray(c.comments)) { %> <% if (Array.isArray(c?.comments)) { %>
<% if (c.comments.length != "0") { %> <% if (c.comments.length != "0") { %>
@ -869,7 +869,7 @@ width: fit-content;
<div class="video-grid" > <div class="video-grid" >
<% if (Array.isArray( tj.videos)) { %> <% if (Array.isArray( tj?.videos)) { %>
<% tj.videos.forEach (x => { %> <% tj.videos.forEach (x => { %>
<a href="/watch?v=<%- x.videoId %>" class="video"> <a href="/watch?v=<%- x.videoId %>" class="video">
@ -889,7 +889,7 @@ width: fit-content;
</div> </div>
<% if (tj.continuation) { %> <% if (tj?.continuation) { %>
<div class="pagination-buttons" style="border-top: none;justify-content: center"> <div class="pagination-buttons" style="border-top: none;justify-content: center">
<a style="color:#fff" href="/channel?id=<%=ID%>&continuation=<%=tj.continuation%>">Next Page</a> <a style="color:#fff" href="/channel?id=<%=ID%>&continuation=<%=tj.continuation%>">Next Page</a>
</div> </div>