aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/NoticeComponent.tsx
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-10-08 16:38:40 -0400
committerAjay <[email protected]>2023-10-08 16:38:40 -0400
commit04a9f82bdc87a056c98c25efb4639a68071376d3 (patch)
treeb649f7759f7f361ba506e053c86cf40f18a90f70 /src/components/NoticeComponent.tsx
parent39cfdc7b6cfc77d4038dd496daa00c7dac94b00a (diff)
downloadSponsorBlock-04a9f82bdc87a056c98c25efb4639a68071376d3.tar.gz
SponsorBlock-04a9f82bdc87a056c98c25efb4639a68071376d3.zip
Rename hidden css class to sbhidden to fix compatibility with Piped
Fixes #1865
Diffstat (limited to 'src/components/NoticeComponent.tsx')
-rw-r--r--src/components/NoticeComponent.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/NoticeComponent.tsx b/src/components/NoticeComponent.tsx
index 2f404ba1..0e3526d1 100644
--- a/src/components/NoticeComponent.tsx
+++ b/src/components/NoticeComponent.tsx
@@ -196,21 +196,21 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
<span
id={"skipNoticeTimerText" + this.idSuffix}
key="skipNoticeTimerText"
- className={this.state.countdownMode !== CountdownMode.Timer ? "hidden" : ""} >
+ className={this.state.countdownMode !== CountdownMode.Timer ? "sbhidden" : ""} >
{chrome.i18n.getMessage("NoticeTimeAfterSkip").replace("{seconds}", this.state.countdownTime.toString())}
</span>
),(
<img
id={"skipNoticeTimerPaused" + this.idSuffix}
key="skipNoticeTimerPaused"
- className={this.state.countdownMode !== CountdownMode.Paused ? "hidden" : ""}
+ className={this.state.countdownMode !== CountdownMode.Paused ? "sbhidden" : ""}
src={chrome.runtime.getURL("icons/pause.svg")}
alt={chrome.i18n.getMessage("paused")} />
),(
<img
id={"skipNoticeTimerStopped" + this.idSuffix}
key="skipNoticeTimerStopped"
- className={this.state.countdownMode !== CountdownMode.Stopped ? "hidden" : ""}
+ className={this.state.countdownMode !== CountdownMode.Stopped ? "sbhidden" : ""}
src={chrome.runtime.getURL("icons/stop.svg")}
alt={chrome.i18n.getMessage("manualPaused")} />
)];