This commit is contained in:
Mário Panenko 2024-11-23 14:12:28 +00:00
parent a1614229ee
commit 39bfe5dcfe

View File

@ -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
} }
}); });