From 5aaa683ea35d993681d9d10d8aad2178c3647ec0 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 9 Aug 2023 18:46:14 +0000 Subject: [PATCH] fix some goofy ahh stuff --- src/libpoketube/init/pages-video.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index be99fe7f..bb8ee97d 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -151,10 +151,10 @@ core.video(v).then((data) => { try { const k = data?.video; const json = data?.json; - const engagement = data.engagement; - const inv_comments = data.comments || "Disabled"; - const inv_vid = data.vid; - const desc = data.desc || ""; + const engagement = data?.engagement; + const inv_comments = data?.comments || "Disabled"; + const inv_vid = data?.vid; + const desc = data?.desc || ""; let d = false; if (desc !== "[object Object]") {