mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 13:37:04 +03:00
Show inspect button when only when time selected
This commit is contained in:
@@ -312,7 +312,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
|
|||||||
</span>
|
</span>
|
||||||
): ""}
|
): ""}
|
||||||
|
|
||||||
{(!isNaN(segment[1]) && this.state.selectedActionType != ActionType.Full) ? (
|
{(!isNaN(segment[0]) && this.state.selectedActionType != ActionType.Full) ? (
|
||||||
<span id={"sponsorTimeInspectButton" + this.idSuffix}
|
<span id={"sponsorTimeInspectButton" + this.idSuffix}
|
||||||
className="sponsorTimeEditButton"
|
className="sponsorTimeEditButton"
|
||||||
onClick={this.inspectTime.bind(this)}>
|
onClick={this.inspectTime.bind(this)}>
|
||||||
|
|||||||
Reference in New Issue
Block a user