Commit bfb120d0 authored by Michal Čihař's avatar Michal Čihař

Merge branch 'master' into zen

parents d3b88f4f 0d3c4580
...@@ -249,8 +249,8 @@ $(function () { ...@@ -249,8 +249,8 @@ $(function () {
$('#navi .button-disabled').button('disable'); $('#navi .button-disabled').button('disable');
var translation_editor = $('.translation-editor'); var translation_editor = $('.translation-editor');
if (translation_editor.length > 0) { if (translation_editor.length > 0) {
translation-editor.change(text_change).keypress(text_change).autogrow(); translation_editor.change(text_change).keypress(text_change).autogrow();
translation-editor.get(0).focus(); translation_editor.get(0).focus();
} }
$('#toggle-direction').buttonset().change(function (e) { $('#toggle-direction').buttonset().change(function (e) {
$('.translation-editor').attr('dir', $("#toggle-direction :radio:checked").attr('value')).focus(); $('.translation-editor').attr('dir', $("#toggle-direction :radio:checked").attr('value')).focus();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment