From bb4be716d4e150da2b9b961e2fc0be07098f74f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 25 Apr 2023 16:57:38 -0400 Subject: [PATCH] test: no need for this check --- public/src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/utils.js b/public/src/utils.js index c97c785c32..863b8f0c40 100644 --- a/public/src/utils.js +++ b/public/src/utils.js @@ -8,7 +8,7 @@ const utils = { ...require('./utils.common') }; utils.getLanguage = function () { let lang = 'en-GB'; - if (typeof window === 'object' && window.config && window.utils) { + if (typeof window === 'object' && window.config) { lang = utils.params().lang || window.config.userLang || window.config.defaultLang || 'en-GB'; } return lang;