IME fix. Fixes #478

This commit is contained in:
benweet 2014-08-24 00:36:12 +01:00
parent 9bb07c24c3
commit e1305c04eb

View File

@ -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