mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 10:46:04 +08:00
[common] fixed lang loading
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user