Add brackets

This commit is contained in:
syuilo 2018-08-25 19:39:06 +09:00
parent 8ed95ce620
commit 11549cdd63

View File

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