don't append skip button for full video labels

This commit is contained in:
caneleex
2022-10-10 21:21:57 +02:00
parent 5d62b11a6d
commit 2bd1271575

View File

@@ -708,8 +708,9 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
&& [SponsorHideType.Visible, SponsorHideType.Hidden].includes(downloadedTimes[i].hidden)) {
voteButtonsContainer.appendChild(hideButton);
}
if (downloadedTimes[i].actionType !== ActionType.Full) {
voteButtonsContainer.appendChild(skipButton);
}
// Will contain request status
const voteStatusContainer = document.createElement("div");