aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/popup.ts
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-11-04 16:05:09 -0400
committerAjay <[email protected]>2022-11-04 16:05:09 -0400
commit177583539269ffdc3e4798eb3ba78e61c04dedfb (patch)
tree500eb5782392c97878921912e3674c6eb14e5a04 /src/popup.ts
parent2c5db670a4b64a46a50ed065b06bde67b46174cc (diff)
downloadSponsorBlock-177583539269ffdc3e4798eb3ba78e61c04dedfb.tar.gz
SponsorBlock-177583539269ffdc3e4798eb3ba78e61c04dedfb.zip
Add hiding skip to highlight
Fix #1530
Diffstat (limited to 'src/popup.ts')
-rw-r--r--src/popup.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/popup.ts b/src/popup.ts
index d24721b0..526b6381 100644
--- a/src/popup.ts
+++ b/src/popup.ts
@@ -698,6 +698,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
voteButtonsContainer.appendChild(downvoteButton);
voteButtonsContainer.appendChild(uuidButton);
if (downloadedTimes[i].actionType === ActionType.Skip || downloadedTimes[i].actionType === ActionType.Mute
+ || downloadedTimes[i].actionType === ActionType.Poi
&& [SponsorHideType.Visible, SponsorHideType.Hidden].includes(downloadedTimes[i].hidden)) {
voteButtonsContainer.appendChild(hideButton);
}