From e1305c04eb7edaf3732f82b515a7f48a53cd5592 Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 24 Aug 2014 00:36:12 +0100 Subject: [PATCH] IME fix. Fixes #478 --- public/res/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/res/editor.js b/public/res/editor.js index e9342dc9..2dd5ab63 100644 --- a/public/res/editor.js +++ b/public/res/editor.js @@ -645,7 +645,7 @@ define([ var triggerSpellCheck = _.debounce(function() { var selection = window.getSelection(); - if(!selectionMgr.hasFocus || selectionMgr.selectionStart !== selectionMgr.selectionEnd || !selection.modify) { + if(!selectionMgr.hasFocus || isComposing || selectionMgr.selectionStart !== selectionMgr.selectionEnd || !selection.modify) { return; } // Hack for Chrome to trigger the spell checker