forked from matrix/element-web
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