1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 13:14:38 -05:00
This commit is contained in:
Ashley 2022-10-12 17:17:09 +02:00
parent 925823e9f5
commit 52fb2ad099

View file

@ -436,6 +436,14 @@
Comments
</h5>
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;">
<% if (!Array.isArray( inv.comments)) { %>
<p>
Comments couldnt load ;-; (<a href="https://codeberg.org/Ashley/poketube/issues/new">Report dis issue</a>)
</p>
<% } %>
<% if (Array.isArray( inv.comments)) { %>
<% inv.comments.forEach(x =>{ %>
@ -445,7 +453,7 @@
<div class="single-comment justify-content-between d-flex">
<div class="user justify-content-between d-flex">
<div class="desc">
<h5 style="display: flex;"> <div class="thumb">
<h5 style="display: flex;"><div class="thumb">
<a href="/channel?id=<%- x.authorId%>" class="avatar">
<img src="https://p.poketube.fun/<%= x.authorThumbnails[1].url %>">
</a>
@ -464,8 +472,11 @@
</div>
<% }) %>
<% } %>
<% }) %>
</div>
<% } %>