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