Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jemikanegara authored Apr 19, 2024
1 parent 0b8fda3 commit c56a231
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,8 @@ async function createLanguageSelect(apiKey, optsArgs = {}) {
}
}

weploySwitcher.onclick = autoPosition;

if (languages.length < 2) {
let li = document.createElement('li');
ul.appendChild(li);
Expand Down

0 comments on commit c56a231

Please sign in to comment.