mirror of
https://codeberg.org/wownero/wownero.org-website.git
synced 2026-10-17 05:41:28 +02:00
fix infinite reload loop for English browsers
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
async function translate(lang) {
|
||||
if (lang == 'en-US' || lang == 'en') {
|
||||
if (localStorage.getItem('wowLang')) {
|
||||
localStorage.removeItem('wowLang');
|
||||
location.reload();
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (lang == "it" || lang == "it-CH") lang = "it-IT";
|
||||
|
||||
Reference in New Issue
Block a user