IME fix. Fixes #478
This commit is contained in:
parent
9bb07c24c3
commit
e1305c04eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user