diff options
Diffstat (limited to 'webapp/components/create_comment.jsx')
-rw-r--r-- | webapp/components/create_comment.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/create_comment.jsx b/webapp/components/create_comment.jsx index a0a4ddcd2..e8378da2c 100644 --- a/webapp/components/create_comment.jsx +++ b/webapp/components/create_comment.jsx @@ -123,7 +123,7 @@ export default class CreateComment extends React.Component { MessageHistoryStore.storeMessageInHistory(message); - if (message.trim().length === 0 && this.state.previews.length === 0) { + if (message.trim().length === 0 && this.state.fileInfos.length === 0) { return; } |