mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +03:00
Don't show start button for highlight
This commit is contained in:
@@ -128,11 +128,13 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
|
|||||||
style={timeDisplayStyle}
|
style={timeDisplayStyle}
|
||||||
className="sponsorTimeDisplay">
|
className="sponsorTimeDisplay">
|
||||||
|
|
||||||
<span id={"startButton" + this.idSuffix}
|
{sponsorTime.actionType !== ActionType.Poi ? (
|
||||||
className="sponsorNowButton"
|
<span id={"startButton" + this.idSuffix}
|
||||||
onClick={() => this.setTimeTo(0, 0)}>
|
className="sponsorNowButton"
|
||||||
{chrome.i18n.getMessage("bracketStart")}
|
onClick={() => this.setTimeTo(0, 0)}>
|
||||||
</span>
|
{chrome.i18n.getMessage("bracketStart")}
|
||||||
|
</span>
|
||||||
|
): ""}
|
||||||
|
|
||||||
<span id={"nowButton0" + this.idSuffix}
|
<span id={"nowButton0" + this.idSuffix}
|
||||||
className="sponsorNowButton"
|
className="sponsorNowButton"
|
||||||
|
|||||||
Reference in New Issue
Block a user