This commit is contained in:
daria 2023-07-18 17:10:08 +03:00
parent 6ca7e9503b
commit a36f88c8d1
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ define([
if (selected === l) { attr.selected = 'selected'; }
options.push(h('option', attr, languages[l]));
});
var select = h('select', {role: 'listbox', 'label': 'language'}, options);
var select = h('select', {role: 'listbox', 'label': 'language','aria-label': 'languages'}, options);
$(select).change(function () {
Language.setLanguage($(select).val() || '', null, function () {
window.location.reload();