Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurux01 authored Jan 11, 2025
1 parent ae735df commit 35e9292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let words = []; // Lista de palabras actual (cargada dinámicamente)

// Función para cargar palabras según el idioma
async function loadWords(language) {
const filePath = language === "es" ? "spanish_words.txt" : "english_words.txt";
const filePath = language === "es" ? "assets/spanish_words.txt" : "assets/english_words.txt";
try {
const response = await fetch(filePath);
if (response.ok) {
Expand Down

0 comments on commit 35e9292

Please sign in to comment.