This commit is contained in:
parent
a1614229ee
commit
39bfe5dcfe
@ -53,7 +53,6 @@ async function fetchVideoUrl(word) {
|
|||||||
return data.video_url;
|
return data.video_url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Function to load video sequence by words using Supabase
|
// Function to load video sequence by words using Supabase
|
||||||
async function loadVideoSequenceByWords() {
|
async function loadVideoSequenceByWords() {
|
||||||
const words = inputText.value.trim().split(' ');
|
const words = inputText.value.trim().split(' ');
|
||||||
@ -194,4 +193,4 @@ inputText.addEventListener('input', () => {
|
|||||||
} else {
|
} else {
|
||||||
translateBtn.disabled = true; // Disable the translate button if the text is empty
|
translateBtn.disabled = true; // Disable the translate button if the text is empty
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user