Skip to content

Commit 2bd1271

Browse files
author
caneleex
committed
don't append skip button for full video labels
1 parent 5d62b11 commit 2bd1271

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/popup.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,9 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
708708
&& [SponsorHideType.Visible, SponsorHideType.Hidden].includes(downloadedTimes[i].hidden)) {
709709
voteButtonsContainer.appendChild(hideButton);
710710
}
711-
voteButtonsContainer.appendChild(skipButton);
712-
711+
if (downloadedTimes[i].actionType !== ActionType.Full) {
712+
voteButtonsContainer.appendChild(skipButton);
713+
}
713714

714715
// Will contain request status
715716
const voteStatusContainer = document.createElement("div");

0 commit comments

Comments
 (0)