mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 20:23:08 +02:00
Add brackets
This commit is contained in:
parent
16520c7b4c
commit
f0b08d3936
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue