From 2bd1271575c17a88564f927c38d918a65188e4a0 Mon Sep 17 00:00:00 2001 From: caneleex Date: Mon, 10 Oct 2022 21:21:57 +0200 Subject: [PATCH] don't append skip button for full video labels --- src/popup.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/popup.ts b/src/popup.ts index 1fc1acc6..338ecfcd 100644 --- a/src/popup.ts +++ b/src/popup.ts @@ -708,8 +708,9 @@ async function runThePopup(messageListener?: MessageListener): Promise { && [SponsorHideType.Visible, SponsorHideType.Hidden].includes(downloadedTimes[i].hidden)) { voteButtonsContainer.appendChild(hideButton); } - voteButtonsContainer.appendChild(skipButton); - + if (downloadedTimes[i].actionType !== ActionType.Full) { + voteButtonsContainer.appendChild(skipButton); + } // Will contain request status const voteStatusContainer = document.createElement("div");