From 2f45bc7a0330a8a07c3e7578c50101899e6f4aaa Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 1 Dec 2022 15:59:31 +0000 Subject: [PATCH] qwq --- src/libpoketube/init/pages-video.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 80d290ae..901b4d0b 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -134,6 +134,8 @@ module.exports = function (app, config, renderTemplate) { const engagement = data.engagement; var inv_comments = data.comments; const inv_vid = data.vid; + if(json) { + if(json.Title) { if (!data.comments) inv_comments = "Disabled"; @@ -187,7 +189,9 @@ module.exports = function (app, config, renderTemplate) { inv_vid, lyrics: "", }); - } + } } + + });