mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-14 05:09:00 +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>
|
</label>
|
||||||
|
|
||||||
<% if (inv.comments) { %>
|
<% if (inv.comments) { %>
|
||||||
<input type="checkbox" class="hj" id="j" style="display:none">
|
<input type="checkbox" class="hj" id="j" style="display:none">
|
||||||
<label class="hj" for="j">
|
<label class="hj" for="j">
|
||||||
<div class="fnt">
|
<div class="fnt">
|
||||||
|
@ -1247,7 +1247,9 @@ 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">
|
||||||
|
@ -1258,7 +1260,8 @@ display: block; !important;" autoplay controls>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<% }%>
|
<% }%>
|
||||||
<% }%>
|
<% }%>
|
||||||
|
<% }%>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue