forked from matrix/element-web
Merge pull request #5640 from turt2live/travis/granular-language
Exclude the default language on page load
This commit is contained in:
commit
21d7c4d92a
|
@ -370,7 +370,7 @@ async function loadApp() {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function loadLanguage() {
|
async function loadLanguage() {
|
||||||
const prefLang = SettingsStore.getValue("language");
|
const prefLang = SettingsStore.getValue("language", null, /*excludeDefault=*/true);
|
||||||
let langs = [];
|
let langs = [];
|
||||||
|
|
||||||
if (!prefLang) {
|
if (!prefLang) {
|
||||||
|
|
Loading…
Reference in New Issue