summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js')
-rw-r--r--program/js/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/editor.js b/program/js/editor.js
index ce3b38c0e..4adfe2b5d 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -107,7 +107,7 @@ function rcmail_editor_tabindex(focus)
if (textarea && node)
node.tabIndex = textarea.tabIndex;
if (focus)
- editor.getWin().focus();
+ editor.getBody().focus();
}
}
}