mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-07 12:07:11 +03:00
Fixed preview button
This commit is contained in:
@@ -281,7 +281,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
|
|||||||
let sponsorTimes = this.props.contentContainer().sponsorTimesSubmitting;
|
let sponsorTimes = this.props.contentContainer().sponsorTimesSubmitting;
|
||||||
let index = this.props.index;
|
let index = this.props.index;
|
||||||
|
|
||||||
let skipTime = sponsorTimes[index][0];
|
let skipTime = sponsorTimes[index].segment[0];
|
||||||
|
|
||||||
if (this.state.editing) {
|
if (this.state.editing) {
|
||||||
// Save edits before previewing
|
// Save edits before previewing
|
||||||
|
|||||||
Reference in New Issue
Block a user