mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 07:58:28 +01:00
add description check :p
This commit is contained in:
parent
d93d23c5a6
commit
3888702482
1 changed files with 16 additions and 1 deletions
|
@ -773,14 +773,29 @@ display: block; !important;" autoplay controls
|
|||
<% if (String(video.Description) != "[object Object]") { %>
|
||||
<% if (String(inv_vid.descriptionHtml) != "undefined") { %>
|
||||
<% if (String(inv_vid.descriptionHtml) != " ") { %>
|
||||
<% if (String(inv_vid.descriptionHtml) != "<p></p>") { %>
|
||||
|
||||
<div style="margin-top:1em;">
|
||||
|
||||
|
||||
<%-String(inv_vid.descriptionHtml).replace(/\n/g, " <br> ").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %>
|
||||
</div>
|
||||
<% } %> <% } %>
|
||||
<% } %> <% } %> <% } %>
|
||||
<% } %>
|
||||
|
||||
<% if (String(video.Description) != "[object Object]") { %>
|
||||
<% if (String(inv_vid.descriptionHtml) != "undefined") { %>
|
||||
<% if (String(inv_vid.descriptionHtml) != " ") { %>
|
||||
<% if (String(inv_vid.descriptionHtml) == "<p></p>") { %>
|
||||
|
||||
<div style="margin-top:1em;">
|
||||
|
||||
|
||||
<%-String(inv_vid.description).replace(/\n/g, " <br> ").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %>
|
||||
</div>
|
||||
<% } %> <% } %> <% } %>
|
||||
<% } %>
|
||||
|
||||
|
||||
<% if (String(video.Description) == "[object Object]") { %>
|
||||
<% if (String(inv_vid.descriptionHtml) == " ") { %>
|
||||
|
|
Loading…
Reference in a new issue