Skip to content

Commit

Permalink
Fixed dropdown menu
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Jun 13, 2021
1 parent 54c931f commit eb88402
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,11 @@ document.getElementById("theme-link-mobile").addEventListener("click", () => {
changeTheme();
});

document.getElementById("lang-link").addEventListener("click", () => {
document.getElementById("lang-link").addEventListener("change", () => {
changeLanguage();
});

document.getElementById("lang-link-mobile").addEventListener("click", () => {
document.getElementById("lang-link-mobile").addEventListener("change", () => {
changeLanguage();
});

Expand Down
4 changes: 2 additions & 2 deletions js/passwords.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ document.getElementById("theme-link-mobile").addEventListener("click", () => {
changeTheme();
});

document.getElementById("lang-link").addEventListener("click", () => {
document.getElementById("lang-link").addEventListener("change", () => {
changeLanguage();
});

document.getElementById("lang-link-mobile").addEventListener("click", () => {
document.getElementById("lang-link-mobile").addEventListener("change", () => {
changeLanguage();
});

Expand Down

0 comments on commit eb88402

Please sign in to comment.