add check if comments exist lol

This commit is contained in:
Ashley //// 2024-01-20 16:05:08 +00:00
parent 88a81a4f09
commit 55d33a38f1

View file

@ -1248,6 +1248,8 @@ display: block; !important;" autoplay controls>
<% if (!video?.Channel.Name.endsWith(' - Topic')) { %> <% if (!video?.Channel.Name.endsWith(' - Topic')) { %>
<% if (!inv_vid.title.endsWith('Audio)')) { %> <% if (!inv_vid.title.endsWith('Audio)')) { %>
<% if (inv.comments) { %>
<div class="new-button button-lite" style=";margin-left: -4px;"> <div class="new-button button-lite" style=";margin-left: -4px;">
<a title="See videos comments" style="color:var(--text-color);text-decoration: none" href="#comments-container"> <a title="See videos comments" style="color:var(--text-color);text-decoration: none" href="#comments-container">
<div class="pill-button"> <div class="pill-button">
@ -1259,6 +1261,7 @@ display: block; !important;" autoplay controls>
</div> </div>
<% }%> <% }%>
<% }%> <% }%>
<% }%>
</div> </div>