Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaXser authored Aug 5, 2023
1 parent 5f42748 commit 483ac7b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/vot-cloudflare-min.user.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vot-cloudflare.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3420,7 +3420,7 @@ async function src_main() {
mutation.target === video &&
mutation.target.src !== ""
) {
stopTranslation();
await stopTranslation();
firstPlay = true;
}
});
Expand Down Expand Up @@ -3565,8 +3565,8 @@ async function src_main() {
// check if the audio source is not empty
if (audio.src) {
debug/* default */.Z.log("[click translationBtn] audio.src is not empty");
await stopTranslation();
videoData.detectedLanguage = ""
await stopTraslate();
return;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/vot-min.user.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vot.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3339,7 +3339,7 @@ async function src_main() {
mutation.target === video &&
mutation.target.src !== ""
) {
stopTranslation();
await stopTranslation();
firstPlay = true;
}
});
Expand Down Expand Up @@ -3484,8 +3484,8 @@ async function src_main() {
// check if the audio source is not empty
if (audio.src) {
utils_debug.log("[click translationBtn] audio.src is not empty");
await stopTranslation();
videoData.detectedLanguage = ""
await stopTraslate();
return;
}

Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ async function main() {
mutation.target === video &&
mutation.target.src !== ""
) {
stopTranslation();
await stopTranslation();
firstPlay = true;
}
});
Expand Down Expand Up @@ -1125,8 +1125,8 @@ async function main() {
// check if the audio source is not empty
if (audio.src) {
debug.log("[click translationBtn] audio.src is not empty");
await stopTranslation();
videoData.detectedLanguage = ""
await stopTraslate();
return;
}

Expand Down

0 comments on commit 483ac7b

Please sign in to comment.