Add brackets
This commit is contained in:
parent
16520c7b4c
commit
f0b08d3936
|
@ -51,10 +51,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (settings &&
|
||||
settings.device.lang &&
|
||||
LANGS.includes(settings.device.lang))
|
||||
if (settings && settings.device.lang &&
|
||||
LANGS.includes(settings.device.lang)) {
|
||||
lang = settings.device.lang;
|
||||
}
|
||||
//#endregion
|
||||
|
||||
// Detect the user agent
|
||||
|
|
Loading…
Reference in a new issue