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: "", }); - } + } } + + });