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 18, 2024
1 parent 78619c5 commit 142e617
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,9 @@ async function createLanguageSelect(apiKey, optsArgs = {}) {
});

if (!initializedSelectorByUser) weploySwitcher.appendChild(details);
autoPosition();
setTimeout(() => {
autoPosition();
}, 1000);
}
});
}
Expand Down

0 comments on commit 142e617

Please sign in to comment.