diff options
author | Ajay <[email protected]> | 2023-10-08 16:38:40 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2023-10-08 16:38:40 -0400 |
commit | 04a9f82bdc87a056c98c25efb4639a68071376d3 (patch) | |
tree | b649f7759f7f361ba506e053c86cf40f18a90f70 /src/components/NoticeComponent.tsx | |
parent | 39cfdc7b6cfc77d4038dd496daa00c7dac94b00a (diff) | |
download | SponsorBlock-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.tsx | 6 |
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")} /> )]; |