mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Fix html10n usage in code that wouldn't allow lang switching
This commit is contained in:
parent
580d936e50
commit
0c9178d392
3 changed files with 14 additions and 9 deletions
|
@ -79,6 +79,7 @@ var padeditor = (function()
|
|||
html10n.bind('localized', function() {
|
||||
$("#languagemenu").val(html10n.getLanguage());
|
||||
})
|
||||
$("#languagemenu").val(html10n.getLanguage());
|
||||
$("#languagemenu").change(function() {
|
||||
pad.createCookie("language",$("#languagemenu").val(),null,'/');
|
||||
window.html10n.localize([$("#languagemenu").val(), 'en']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue