Skip to content

Commit

Permalink
fix: current subtitle index
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaUnknown committed Dec 26, 2023
1 parent 9cbdfd8 commit e23e7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/modules/subtitles.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export default class Subtitles {
this.headers[index].header += subtitles.join('\n')
}
if (!this.current) {
this.current = 0
this.current = index
this.initSubtitleRenderer()
this.selectCaptions(this.current)
this.onHeader()
Expand Down

0 comments on commit e23e7f9

Please sign in to comment.