mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
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
Block a user