Skip to content

Commit

Permalink
Fix full size manual skip notices showing "unskip" button instead of …
Browse files Browse the repository at this point in the history
…"skip"

Fixes #2160
  • Loading branch information
ajayyy committed Dec 11, 2024
1 parent 11f576e commit 557e2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SkipNoticeComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
const skipButtonStates = this.state.skipButtonStates;
const skipButtonCallbacks = this.state.skipButtonCallbacks;
if (buttonIndex === null) {
for (let i = 0; i < this.segments.length; i++) {
for (let i = 0; i < skipButtonStates.length; i++) {
skipButtonStates[i] = skipButtonState;
skipButtonCallbacks[i] = this.reskip.bind(this);
}
Expand Down

0 comments on commit 557e2ea

Please sign in to comment.