mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
I don't really see why this is necessary
This commit is contained in:
parent
caca5cc00b
commit
af6cc7bf9c
@ -330,7 +330,6 @@ async function loadLanguage() {
|
|||||||
const lang = UserSettingsStore.getLocalSetting('language', languageHandler.getLanguageFromBrowser());
|
const lang = UserSettingsStore.getLocalSetting('language', languageHandler.getLanguageFromBrowser());
|
||||||
const languages = languageHandler.getNormalizedLanguageKeys(lang);
|
const languages = languageHandler.getNormalizedLanguageKeys(lang);
|
||||||
languageHandler.setLanguage(languages, counterpart);
|
languageHandler.setLanguage(languages, counterpart);
|
||||||
setLocalSetting('language', languages[0]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
loadApp();
|
loadApp();
|
||||||
|
Loading…
Reference in New Issue
Block a user