From 51f6ac6b712db2d30aae96fd9a17e81d73bfe3b7 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 19 Dec 2012 17:21:22 +0100 Subject: [PATCH] Fix lang picker, again --- src/static/js/pad_editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/pad_editor.js b/src/static/js/pad_editor.js index 7ea7063f7..ba30cd20a 100644 --- a/src/static/js/pad_editor.js +++ b/src/static/js/pad_editor.js @@ -78,7 +78,7 @@ var padeditor = (function() $("#languagemenu").val(window.html10n.getLanguage()); $("#languagemenu").change(function() { pad.createCookie("language",$("#languagemenu").val(),null,'/'); - document.webL10n.localize([$("#languagemenu").val(), 'en']); + window.html10n.localize([$("#languagemenu").val(), 'en']); }); }, setViewOptions: function(newOptions)