Skip to content

Commit

Permalink
Assigned a new ID 'sponsorTimePreviewEndButton' to the newly added 'E…
Browse files Browse the repository at this point in the history
…nd' button
  • Loading branch information
Choromanski committed Oct 17, 2023
1 parent 0f0e404 commit 41a2fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SponsorTimeEditComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
): ""}

{(!isNaN(segment[1]) && ![ActionType.Poi, ActionType.Full].includes(sponsorTime.actionType)) ? (
<span id={"sponsorTimePreviewButton" + this.idSuffix}
<span id={"sponsorTimePreviewEndButton" + this.idSuffix}
className="sponsorTimeEditButton"
onClick={(e) => this.previewTime(e.ctrlKey, e.shiftKey, true)}>
{chrome.i18n.getMessage("End")}
Expand Down

0 comments on commit 41a2fc2

Please sign in to comment.