mirror of https://github.com/xwiki-labs/cryptpad
fixed #1131
This commit is contained in:
parent
6ca7e9503b
commit
a36f88c8d1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue