[common] fixed lang loading
This commit is contained in:
parent
f0d3467545
commit
13943632cb
|
@ -127,7 +127,7 @@ Common.Locale = new(function() {
|
|||
l10n = json || {};
|
||||
apply && _applyLocalization();
|
||||
}).catch(function(e) {
|
||||
if ( currentLang != defLang ) {
|
||||
if ( currentLang != defLang && defLang && defLang.length < 3 ) {
|
||||
return setTimeout(function(){
|
||||
_requireLang(defLang)
|
||||
}, 0);
|
||||
|
|
Loading…
Reference in a new issue