~ switch all strings to single quotes to match ESLint requirements
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
This commit is contained in:
@@ -5,15 +5,15 @@ import globalize from 'globalize';
|
||||
*/
|
||||
export function populateLanguages(select, languages) {
|
||||
|
||||
let html = "";
|
||||
let html = '';
|
||||
|
||||
html += "<option value=''>" + globalize.translate('AnyLanguage') + "</option>";
|
||||
html += "<option value=''>" + globalize.translate('AnyLanguage') + '</option>';
|
||||
|
||||
for (let i = 0, length = languages.length; i < length; i++) {
|
||||
|
||||
const culture = languages[i];
|
||||
|
||||
html += "<option value='" + culture.ThreeLetterISOLanguageName + "'>" + culture.DisplayName + "</option>";
|
||||
html += "<option value='" + culture.ThreeLetterISOLanguageName + "'>" + culture.DisplayName + '</option>';
|
||||
}
|
||||
|
||||
select.innerHTML = html;
|
||||
|
||||
Reference in New Issue
Block a user