diff --git a/html/poketube.ejs b/html/poketube.ejs index 6a433956..80880834 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -506,25 +506,17 @@ Top Comments :3


- - <% if (inv != "Disabled") { %> - - <% if (!Array.isArray( inv.comments)) { %> -

- Comments couldnt load ;-; (Report dis issue or refresh the god damn page lol) -

- <% } %> - <% } %> - - <% if (inv == "Disabled") { %> + + + <% if (!inv.comments) { %>

- Comments are disabled + There was a error while parsing the comments :c Refresh the page or report this issue at codeberg

<% } %>
- <% if (Array.isArray( inv.comments)) { %> + <% if (inv.comments) { %> <% inv.comments.forEach(x =>{ %> @@ -567,10 +559,10 @@ <% } %> + <% } %>

- <% } %>

@@ -592,8 +584,8 @@ <% }) %> - <% } %> - + <% } %> +