Update boot.js

This commit is contained in:
Acid Chicken (硫酸鶏) 2018-08-25 17:06:40 +09:00 committed by GitHub
parent e510b447c7
commit 7c6e634b54

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