Skip to content

Commit

Permalink
CV 2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
AitorAstorga committed Feb 24, 2023
1 parent aa3b47f commit 184032b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function updateSelectedLanguageButton(language) {
});

// Add the "langSelected" class to the selected language button
const selectedButton = document.querySelector(`.langOption.${language}`);
const selectedButton = document.querySelector(`${language}`);
selectedButton.classList.add('langSelected');
}

0 comments on commit 184032b

Please sign in to comment.