mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 15:43:07 +02:00
commit
16520c7b4c
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue