mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix some LGTM warnings (#949)
This commit is contained in:
@@ -198,7 +198,7 @@ function initLanguageSelection()
|
||||
var langText = 'Please Select';
|
||||
|
||||
//Test, if language is supported by hyperion
|
||||
langIdx = availLang.indexOf(langLocale)
|
||||
var langIdx = availLang.indexOf(langLocale);
|
||||
if ( langIdx > -1 )
|
||||
{
|
||||
langText = availLangText[langIdx];
|
||||
|
Reference in New Issue
Block a user