lang ended up as "(null)" and docs from debug.html didn't load
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: Ie007dbdc2d4066c657d2a1cd05c6f4532404495b
This commit is contained in:
parent
15f49bbb7e
commit
d40acc283b
1 changed files with 2 additions and 2 deletions
|
@ -1113,9 +1113,9 @@ window.app = {
|
|||
}
|
||||
}
|
||||
|
||||
var lang = encodeURIComponent(global.coolParams.get('lang'));
|
||||
var lang = global.coolParams.get('lang');
|
||||
if (lang)
|
||||
global.langParam = lang;
|
||||
global.langParam = encodeURIComponent(lang);
|
||||
else
|
||||
global.langParam = 'en-US';
|
||||
global.langParamLocale = new Intl.Locale(global.langParam);
|
||||
|
|
Loading…
Reference in a new issue