fix some issues :3

This commit is contained in:
Ashley 2022-10-27 17:28:50 +02:00
parent fbf9154f96
commit 6491e18098

View file

@ -496,18 +496,13 @@
</div> </div>
<% if (!video.Channel.Name.endsWith(' - Topic')) { %>
<% if (!inv.comments) { %>
<p>
There was a error while parsing the comments :c <a href="/watch?v=<%= video.id %>">Refresh the page</a> or report this issue at codeberg
</p>
<% } %>
<div class="comments">
<% if (inv.comments) { %> <% if (inv.comments) { %>
<div class="comments">
<div style="background: #1a1a1a;border-radius: 30px;padding: 10px;padding-top: 0;margin: auto"> <div style="background: #1a1a1a;border-radius: 30px;padding: 10px;padding-top: 0;margin: auto">
<h5 style="font-family:ginto nord;margin-bottom: 11px;margin-top: 26px;padding-top: 10px;"> <h5 style="font-family:ginto nord;margin-bottom: 11px;margin-top: 26px;padding-top: 10px;">
@ -590,18 +585,27 @@
<% }) %> <% }) %>
<% } %>
</div> </div>
<% } %>
</div> </div>
</div> <% } %>
<% if(!inv.comments) { %>
</div>
<% } %>
<% if(inv.comments) { %>
</div>
<% } %>
<div class="recommended-list" style="background-color:#1c1c1c;border-radius:25px;margin: 10px;height: fit-content;" align="center"> <div class="recommended-list" style="background-color:#1c1c1c;border-radius:25px;margin: 10px;height: fit-content;" align="center">