From 126eaf08e7fd3a1ad1072360d24b0efc5b811841 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Mon, 22 Nov 2021 16:02:19 +0300 Subject: [PATCH] [all] fix bug 53971 --- apps/common/locale.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/common/locale.js b/apps/common/locale.js index fd34378c4..ce2d95a60 100644 --- a/apps/common/locale.js +++ b/apps/common/locale.js @@ -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')