mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-13 00:58:08 +01:00
add check if comments exist lol
This commit is contained in:
parent
88a81a4f09
commit
55d33a38f1
1 changed files with 6 additions and 3 deletions
|
@ -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">
|
||||
|
@ -1247,7 +1247,9 @@ display: block; !important;" autoplay controls>
|
|||
|
||||
|
||||
<% 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;">
|
||||
<a title="See videos comments" style="color:var(--text-color);text-decoration: none" href="#comments-container">
|
||||
<div class="pill-button">
|
||||
|
@ -1258,7 +1260,8 @@ display: block; !important;" autoplay controls>
|
|||
</a>
|
||||
</div>
|
||||
<% }%>
|
||||
<% }%>
|
||||
<% }%>
|
||||
<% }%>
|
||||
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue