[all] fix bug 53971
This commit is contained in:
parent
540a415826
commit
126eaf08e7
|
@ -99,6 +99,7 @@ Common.Locale = new(function() {
|
|||
};
|
||||
|
||||
var _requireLang = function (l) {
|
||||
typeof l != 'string' && (l = null);
|
||||
var lang = (l || _getUrlParameterByName('lang') || defLang).split(/[\-_]/)[0];
|
||||
currentLang = lang;
|
||||
fetch('locale/' + lang + '.json')
|
||||
|
|
Loading…
Reference in a new issue