1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-02 16:58:43 +09:00

Update boot.js

This commit is contained in:
Acid Chicken (硫酸鶏) 2018-08-25 17:06:40 +09:00 committed by GitHub
parent 990a583e5e
commit 0ebe801af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,9 +51,10 @@
}
}
if (settings) {
if (settings.device.lang) lang = settings.device.lang;
}
if (settings &&
settings.device.lang &&
LANGS.includes(settings.device.lang))
lang = settings.device.lang;
//#endregion
// Detect the user agent