From 6a83a1343e7dbcbc1fb3cf6781fd8ee6c896b526 Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Tue, 23 Apr 2024 19:53:28 +0000 Subject: [PATCH] fix a issue :3 --- html/poketube.ejs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 7c0545a3..4f31d5da 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1294,7 +1294,11 @@ WIP!
- <%- inv.commentCount.toLocaleString() %> +<% if (!isNaN(inv.commentCount)) { %> + <%= inv.commentCount.toLocaleString() %> +<% } else { %> + 0 +<% } %>