1
Fork 0

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

@ -1049,7 +1049,7 @@ display: block; !important;" autoplay controls>
</label>
<% if (inv.comments) { %>
<% if (inv.comments) { %>
<input type="checkbox" class="hj" id="j" style="display:none">
<label class="hj" for="j">
<div class="fnt">
@ -1248,6 +1248,8 @@ display: block; !important;" autoplay controls>
<% if (!video?.Channel.Name.endsWith(' - Topic')) { %>
<% if (!inv_vid.title.endsWith('Audio)')) { %>
<% if (inv.comments) { %>
<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">
<div class="pill-button">
@ -1258,6 +1260,7 @@ display: block; !important;" autoplay controls>
</a>
</div>
<% }%>
<% }%>
<% }%>