diff options
author | Ajay Ramachandran <[email protected]> | 2022-10-11 00:07:38 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-11 00:07:38 -0400 |
commit | 61e78eb6689424026f46a85eb7e91c3bffce05c9 (patch) | |
tree | eeb35ba245520923b47bbbad336909d0a5ef9afd /src | |
parent | 5ebd44c0c7d74bb11649a9e01b154dc792926228 (diff) | |
parent | 2bd1271575c17a88564f927c38d918a65188e4a0 (diff) | |
download | SponsorBlock-61e78eb6689424026f46a85eb7e91c3bffce05c9.tar.gz SponsorBlock-61e78eb6689424026f46a85eb7e91c3bffce05c9.zip |
Merge pull request #1524 from caneleex/patch/full-type-skip
don't append skip button for full video labels
Diffstat (limited to 'src')
-rw-r--r-- | src/popup.ts | 5 |
1 files 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<void> { && [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"); |