Skip to content

Commit

Permalink
last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaXser authored Jan 20, 2024
1 parent 016999e commit df9cec3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1652,8 +1652,10 @@ class VideoHandler {

async translateExecutor(VIDEO_ID) {
this.videoData = await this.getVideoData();
debug.log("Run videoValidator");
this.videoValidator();
this.setSelectMenuValues(
this.videoData.detectedLanguage,
this.videoData.responseLanguage,
);

debug.log("Run translateFunc");
this.translateFunc(
Expand All @@ -1677,6 +1679,7 @@ class VideoHandler {
const videoURL = `${this.site.url}${VIDEO_ID}`;

// fix enabling the old requested voiceover when changing the language to the native language (#)
debug.log("Run videoValidator");
this.videoValidator();

if (isStream) {
Expand Down

0 comments on commit df9cec3

Please sign in to comment.