mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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
Block a user