diff options
author | Michael C <[email protected]> | 2022-07-29 00:37:02 -0400 |
---|---|---|
committer | Michael C <[email protected]> | 2022-07-29 00:37:02 -0400 |
commit | 6eb1d5d9544f589264c829c942f787505e0109b1 (patch) | |
tree | 0267f75aad71c5be51861b155bb162cbc9673714 /src/popup.ts | |
parent | 81b01ac5cc09865c862b8612cb15565f699bcbc2 (diff) | |
download | SponsorBlock-6eb1d5d9544f589264c829c942f787505e0109b1.tar.gz SponsorBlock-6eb1d5d9544f589264c829c942f787505e0109b1.zip |
allow disabling mute segments locally
Diffstat (limited to 'src/popup.ts')
-rw-r--r-- | src/popup.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popup.ts b/src/popup.ts index 75afa07b..6be1f330 100644 --- a/src/popup.ts +++ b/src/popup.ts @@ -576,7 +576,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> { voteButtonsContainer.appendChild(upvoteButton); voteButtonsContainer.appendChild(downvoteButton); voteButtonsContainer.appendChild(uuidButton); - if (segmentTimes[i].actionType === ActionType.Skip + if ((segmentTimes[i].actionType === ActionType.Skip || segmentTimes[i].actionType === ActionType.Mute) && [SponsorHideType.Visible, SponsorHideType.Hidden].includes(segmentTimes[i].hidden)) { voteButtonsContainer.appendChild(hideButton); } |