better naming

This commit is contained in:
Bruno Windels
2019-09-25 14:45:39 +02:00
parent 9f47fad305
commit 7bda1c58eb
3 changed files with 5 additions and 5 deletions
@@ -104,7 +104,7 @@ export default class SendMessageComposer extends React.Component {
};
_onKeyDown = (event) => {
if (this._editorRef.shouldIgnoreKeyDownEvents()) {
if (this._editorRef.isComposing(event)) {
return;
}
const hasModifier = event.altKey || event.ctrlKey || event.metaKey || event.shiftKey;