mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
lgtm fixes (#1020)
This commit is contained in:
@@ -207,7 +207,7 @@ function initLanguageSelection()
|
||||
{
|
||||
// If language is not supported by hyperion, try fallback language
|
||||
langLocale = $.i18n().options.fallbackLocale.substring(0,2);
|
||||
langIdx = availLang.indexOf(langLocale)
|
||||
langIdx = availLang.indexOf(langLocale);
|
||||
if ( langIdx > -1 )
|
||||
{
|
||||
langText = availLangText[langIdx];
|
||||
|
Reference in New Issue
Block a user