Merge pull request #5640 from turt2live/travis/granular-language

Exclude the default language on page load
This commit is contained in:
Matthew Hodgson 2017-11-18 12:25:50 +00:00 committed by GitHub
commit 21d7c4d92a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {