fix ace not getting focus on mousedown when iframe is focused

pull/117/merge
nightwing 2015-07-26 00:04:31 +04:00
rodzic 5037041a51
commit 4f4a78d6ed
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -53,6 +53,8 @@ var MouseHandler = function(editor) {
if (!document.hasFocus || !document.hasFocus())
window.focus();
editor.focus();
if (!editor.isFocused())
window.focus();
};
var mouseTarget = editor.renderer.getMouseEventTarget();